{ "model_id": "bytedance/seedance-2.0", "provider_id": "bytedance", "name": "Seedance 2.0", "description": "ByteDance's next-generation video model with a unified multimodal architecture. Generates high-quality video with synchronized audio from text, images, video clips, and audio inputs. Supports multimodal references (up to 9 images, 3 videos, 3 audio files), native audio generation, video editing, video extension, intelligent duration, and adaptive aspect ratio.", "task": "Text-to-Video", "tags": [ "Video Generation", "Image-to-Video", "Reference Images", "Audio Generation", "Multimodal" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Default (per second)": 0.15, "@480p non-video input (per second)": 0.07, "@480p video input (per second)": 0.172, "@720p non-video input (per second)": 0.15, "@720p video input (per second)": 0.372, "@1080p non-video input (per second)": 0.37, "@1080p video input (per second)": 0.914, "@4k non-video input (per second)": 0.78, "@4k video input (per second)": 1.866 }, "examples": [ { "name": "Simple Video", "description": "Basic text-to-video with default settings", "input": { "prompt": "A golden retriever running through a field of sunflowers on a sunny day", "aspect_ratio": "16:9", "duration": 5, "resolution": "720p" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/simple-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/simple-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n prompt: 'A golden retriever running through a field of sunflowers on a sunny day',\n aspect_ratio: '16:9',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"prompt\": \"A golden retriever running through a field of sunflowers on a sunny day\",\n \"aspect_ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "High Resolution Cinematic", "description": "Cinematic video in 1080p", "input": { "prompt": "A dramatic drone shot flying through misty mountain peaks at sunrise, cinematic lighting with volumetric fog", "aspect_ratio": "16:9", "duration": 10, "resolution": "1080p" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/high-resolution-cinematic.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/high-resolution-cinematic.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n prompt:\n 'A dramatic drone shot flying through misty mountain peaks at sunrise, cinematic lighting with volumetric fog',\n aspect_ratio: '16:9',\n duration: 10,\n resolution: '1080p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"prompt\": \"A dramatic drone shot flying through misty mountain peaks at sunrise, cinematic lighting with volumetric fog\",\n \"aspect_ratio\": \"16:9\",\n \"duration\": 10,\n \"resolution\": \"1080p\"\n }\n}'" } ] }, { "name": "Image to Video", "description": "Generate video from a reference image", "input": { "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAnklEQVR42u2XQRLAIAgD8/839i/26qFCACm0ozPe1KwcQsAoXvgcAABxpwFowl4QWITHxW0LCBhxVngF4gKIirMQyBRnIJAtrkE8AuwWnyFEgKzfS1UA+3sWTju3BGAu7gKYIfBW+Q/AAQgBeMCkt1wVsLZjcwUYG2Z9wGLHZitWk1DEisubUYt2XB5IWkSyFqG0RSxvMZi0Gc1+Ox3fm00ZJ5mGVtkAAAAASUVORK5CYII=", "prompt": "The character begins walking forward through the scene", "aspect_ratio": "16:9", "duration": 5, "resolution": "720p" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/image-to-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/image-to-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n image:\n 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAnklEQVR42u2XQRLAIAgD8/839i/26qFCACm0ozPe1KwcQsAoXvgcAABxpwFowl4QWITHxW0LCBhxVngF4gKIirMQyBRnIJAtrkE8AuwWnyFEgKzfS1UA+3sWTju3BGAu7gKYIfBW+Q/AAQgBeMCkt1wVsLZjcwUYG2Z9wGLHZitWk1DEisubUYt2XB5IWkSyFqG0RSxvMZi0Gc1+Ox3fm00ZJ5mGVtkAAAAASUVORK5CYII=',\n prompt: 'The character begins walking forward through the scene',\n aspect_ratio: '16:9',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAnklEQVR42u2XQRLAIAgD8/839i/26qFCACm0ozPe1KwcQsAoXvgcAABxpwFowl4QWITHxW0LCBhxVngF4gKIirMQyBRnIJAtrkE8AuwWnyFEgKzfS1UA+3sWTju3BGAu7gKYIfBW+Q/AAQgBeMCkt1wVsLZjcwUYG2Z9wGLHZitWk1DEisubUYt2XB5IWkSyFqG0RSxvMZi0Gc1+Ox3fm00ZJ5mGVtkAAAAASUVORK5CYII=\",\n \"prompt\": \"The character begins walking forward through the scene\",\n \"aspect_ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "Portrait Video", "description": "Vertical video for social media", "input": { "prompt": "Abstract ink drops spreading through water, vivid colors mixing in slow motion", "aspect_ratio": "9:16", "duration": 5, "resolution": "720p" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/portrait-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/portrait-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n prompt: 'Abstract ink drops spreading through water, vivid colors mixing in slow motion',\n aspect_ratio: '9:16',\n duration: 5,\n resolution: '720p',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"prompt\": \"Abstract ink drops spreading through water, vivid colors mixing in slow motion\",\n \"aspect_ratio\": \"9:16\",\n \"duration\": 5,\n \"resolution\": \"720p\"\n }\n}'" } ] }, { "name": "4K Cinematic Video", "description": "Generate a detailed cinematic video in 4K", "input": { "prompt": "A sweeping cinematic shot of a futuristic city skyline at dusk, flying past glass towers with neon reflections and dramatic clouds", "aspect_ratio": "16:9", "duration": 5, "resolution": "4k" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/4k-cinematic-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/4k-cinematic-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n prompt:\n 'A sweeping cinematic shot of a futuristic city skyline at dusk, flying past glass towers with neon reflections and dramatic clouds',\n aspect_ratio: '16:9',\n duration: 5,\n resolution: '4k',\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"prompt\": \"A sweeping cinematic shot of a futuristic city skyline at dusk, flying past glass towers with neon reflections and dramatic clouds\",\n \"aspect_ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"4k\"\n }\n}'" } ] }, { "name": "Virtual Avatar Reference", "description": "Use a virtual character avatar from the trusted asset library", "input": { "image": "https://ark-doc.tos-ap-southeast-1.bytepluses.com/doc_image/r2v_tea_pic1.jpg", "prompt": "The scene gently animates with subtle motion", "aspect_ratio": "16:9", "duration": 5, "resolution": "720p", "use_virtual_avatar": true }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/virtual-avatar-reference.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0/virtual-avatar-reference.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0',\n {\n image: 'https://ark-doc.tos-ap-southeast-1.bytepluses.com/doc_image/r2v_tea_pic1.jpg',\n prompt: 'The scene gently animates with subtle motion',\n aspect_ratio: '16:9',\n duration: 5,\n resolution: '720p',\n use_virtual_avatar: true,\n },\n)\nconsole.log(response)" }, { "label": "curl", "language": "bash", "code": "curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \\\n --header \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n --header \"Content-Type: application/json\" \\\n --data '{\n \"model\": \"bytedance/seedance-2.0\",\n \"input\": {\n \"image\": \"https://ark-doc.tos-ap-southeast-1.bytepluses.com/doc_image/r2v_tea_pic1.jpg\",\n \"prompt\": \"The scene gently animates with subtle motion\",\n \"aspect_ratio\": \"16:9\",\n \"duration\": 5,\n \"resolution\": \"720p\",\n \"use_virtual_avatar\": true\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://seed.bytedance.com/en/seedance2_0", "terms": null, "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/bytedance/seedance-2.0.png", "metadata": { "Aspect Ratios": "16:9, 4:3, 1:1, 3:4, 9:16, 21:9, 9:21", "Max Duration": "12 seconds", "Native Audio": "Yes", "Resolutions": "480p, 720p, 1080p" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "bytedance", "pricing": { "default": 0.15, "480p_non_video_in": 0.07, "480p_video_in": 0.172, "720p_non_video_in": 0.15, "720p_video_in": 0.372, "1080p_non_video_in": 0.37, "1080p_video_in": 0.914, "4k_non_video_in": 0.78, "4k_video_in": 1.866 } } ], "banner": null, "created_at": "2026-05-22 17:52:58", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "type": "string", "maxLength": 10000, "description": "Text prompt describing the video to generate" }, "image": { "description": "Reference image (HTTP(S) URL or base64 data URI) for image-to-video", "type": "string" }, "reference_video": { "description": "Reference video (HTTP(S) URL or base64 data URI) for style/motion guidance", "type": "string" }, "last_frame_image": { "description": "Reference image (HTTP(S) URL or base64 data URI) for last-frame guidance. Only works if an image start frame is also given.", "type": "string" }, "reference_images": { "description": "Reference images (1-4, HTTP(S) URLs or base64 data URIs) to guide video generation for characters, avatars, clothing, or environments. Cannot be used with 1080p resolution or first/last frame images.", "maxItems": 4, "type": "array", "items": { "type": "string" } }, "duration": { "default": 5, "description": "Video duration in seconds", "type": "integer", "minimum": 4, "maximum": 12 }, "resolution": { "default": "720p", "description": "Video resolution", "type": "string", "enum": [ "480p", "720p", "1080p", "4k" ] }, "aspect_ratio": { "default": "16:9", "description": "Video aspect ratio. Ignored if an image is used.", "type": "string", "enum": [ "16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "9:21" ] }, "fps": { "default": 24, "description": "Frame rate (frames per second)", "type": "number", "const": 24 }, "camera_fixed": { "default": false, "description": "Whether to fix camera position", "type": "boolean" }, "generate_audio": { "description": "Whether to generate audio with the video", "type": "boolean" }, "watermark": { "default": false, "description": "Whether to add a watermark to the output video", "type": "boolean" }, "seed": { "description": "Random seed for reproducible generation", "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "use_virtual_avatar": { "default": false, "description": "Route image reference inputs (image, reference_images, last_frame_image) through ByteDance's trusted virtual avatar asset library before generation. Intended for AI-generated/virtual character avatars that would otherwise be blocked by face or deepfake detection", "type": "boolean" } }, "required": [ "prompt", "duration", "resolution", "aspect_ratio", "fps", "camera_fixed", "watermark", "use_virtual_avatar" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "video": { "type": "string", "format": "uri", "description": "URL to the generated video" } }, "required": [ "video" ], "additionalProperties": false } } }