Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Stream ID for stream diffusion processing
Minimum length:
1Body
application/json
curl --request POST \
--url https://api.daydream.live/beta/streams/{id}/prompts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pipeline": "live-video-to-video",
"model_id": "streamdiffusion",
"params": {
"model_id": "stabilityai/sd-turbo",
"prompt": "<string>",
"prompt_interpolation_method": "linear",
"normalize_prompt_weights": true,
"normalize_seed_weights": true,
"negative_prompt": "<string>",
"guidance_scale": 123,
"delta": 123,
"num_inference_steps": 0,
"t_index_list": [
0
],
"use_safety_checker": true,
"width": 0,
"height": 0,
"lora_dict": {},
"use_lcm_lora": true,
"lcm_lora_id": "<string>",
"acceleration": "<string>",
"use_denoising_batch": true,
"do_add_noise": true,
"seed": 0,
"seed_interpolation_method": "linear",
"enable_similar_image_filter": true,
"similar_image_filter_threshold": 123,
"similar_image_filter_max_skip_frame": 0,
"controlnets": [
{
"model_id": "thibaud/controlnet-sd21-openpose-diffusers",
"conditioning_scale": 123,
"preprocessor": "<string>",
"preprocessor_params": {},
"enabled": true,
"control_guidance_start": 123,
"control_guidance_end": 123
}
],
"ip_adapter": {
"scale": 123,
"enabled": true,
"type": "regular",
"weight_type": "linear"
},
"ip_adapter_style_image_url": "<string>"
}
}'{
"success": true,
"message": "<string>",
"was_censored": true
}Submit a prompt to a StreamDiffusion stream with advanced parameters including controlnets and lora settings
curl --request POST \
--url https://api.daydream.live/beta/streams/{id}/prompts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pipeline": "live-video-to-video",
"model_id": "streamdiffusion",
"params": {
"model_id": "stabilityai/sd-turbo",
"prompt": "<string>",
"prompt_interpolation_method": "linear",
"normalize_prompt_weights": true,
"normalize_seed_weights": true,
"negative_prompt": "<string>",
"guidance_scale": 123,
"delta": 123,
"num_inference_steps": 0,
"t_index_list": [
0
],
"use_safety_checker": true,
"width": 0,
"height": 0,
"lora_dict": {},
"use_lcm_lora": true,
"lcm_lora_id": "<string>",
"acceleration": "<string>",
"use_denoising_batch": true,
"do_add_noise": true,
"seed": 0,
"seed_interpolation_method": "linear",
"enable_similar_image_filter": true,
"similar_image_filter_threshold": 123,
"similar_image_filter_max_skip_frame": 0,
"controlnets": [
{
"model_id": "thibaud/controlnet-sd21-openpose-diffusers",
"conditioning_scale": 123,
"preprocessor": "<string>",
"preprocessor_params": {},
"enabled": true,
"control_guidance_start": 123,
"control_guidance_end": 123
}
],
"ip_adapter": {
"scale": 123,
"enabled": true,
"type": "regular",
"weight_type": "linear"
},
"ip_adapter_style_image_url": "<string>"
}
}'{
"success": true,
"message": "<string>",
"was_censored": true
}prompt, guidance_scale, delta, num_inference_steps, t_index_list, seed, controlnets.conditioning_scale. All other parameters trigger a full pipeline reload (~30s).Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Stream ID for stream diffusion processing
1Was this page helpful?