Create a New Stream
Creates a new video processing stream with the specified configuration
Request Body Structure
pipeline: The processing pipeline to use. Currently"streamdiffusion"is the only public option.params: Configuration object containing the model and generation parameters.params.model_id: The specific model to use (see table below).
Available Models
| model_id | Family | ControlNets | IP Adapter | Cached Attention |
|---|---|---|---|---|
stabilityai/sd-turbo | SD2.1 | 6 types | No | No |
stabilityai/sdxl-turbo | SDXL | 3 types | Yes | Yes |
Lykon/dreamshaper-8 | SD1.5 | 4 types | Yes | Yes |
prompthero/openjourney-v4 | SD1.5 | 4 types | Yes | Yes |
Example: Create an SDXL Turbo Stream
Example: Create a Stream with ControlNet
Legacy Support
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Default Response
- StreamDiffusion
- Scope
streamdiffusion - SDTurbo
- SDXL
- SD1.5
Unique identifier for the stream
Unique key used for streaming to this endpoint
ISO timestamp when the stream was created
Playback ID for accessing the stream output
Human-readable name of the stream
ID of the user who created this stream
Whether this stream was created from the playground interface
Gateway server hostname handling this stream
Whether this is a smoke test stream
WebRTC WHIP URL for stream ingestion
URL where the processed stream output can be accessed