{ "model_id": "bytedance/seedance-2.0-fast", "provider_id": "bytedance", "name": "Seedance 2.0 Fast", "description": "Faster variant of ByteDance's Seedance 2.0 video model. Trades some quality for speed while sharing the same multimodal architecture. Supports text-to-video, image-to-video, native audio generation, multimodal references (images, videos, audio), video editing, and video extension.", "task": "Text-to-Video", "tags": [ "Video Generation", "Image-to-Video", "Fast", "Multimodal" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "@480p non-video input (per second)": 0.06, "@480p video input (per second)": 0.132, "@720p non-video input (per second)": 0.12, "@720p video input (per second)": 0.286, "Default (per second)": 0.12 }, "examples": [ { "name": "Quick Video", "description": "Fast 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-fast/quick-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0-fast/quick-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0-fast',\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-fast\",\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": "Portrait Video", "description": "Vertical video for social media", "input": { "prompt": "A barista pouring latte art in a cozy coffee shop, close-up with shallow depth of field", "aspect_ratio": "9:16", "duration": 5, "resolution": "720p" }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0-fast/portrait-video.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0-fast/portrait-video.mp4" }, "gatewayMetadata": { "keySource": "Unified" } }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedance-2.0-fast',\n {\n prompt: 'A barista pouring latte art in a cozy coffee shop, close-up with shallow depth of field',\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-fast\",\n \"input\": {\n \"prompt\": \"A barista pouring latte art in a cozy coffee shop, close-up with shallow depth of field\",\n \"aspect_ratio\": \"9:16\",\n \"duration\": 5,\n \"resolution\": \"720p\"\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, "generate_audio": false }, "output": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0-fast/virtual-avatar-reference.mp4" }, "raw_response": { "state": "Completed", "result": { "video": "https://examples.aig.cloudflare.com/bytedance/seedance-2.0-fast/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-fast',\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 generate_audio: false,\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-fast\",\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 \"generate_audio\": false\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://seed.bytedance.com/en/seedance", "terms": null, "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/bytedance/seedance-2.0-fast.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" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "bytedance", "pricing": { "480p_non_video_in": 0.06, "480p_video_in": 0.132, "720p_non_video_in": 0.12, "720p_video_in": 0.286, "default": 0.12 } } ], "banner": null, "created_at": "2026-05-22 17:53:04", "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 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" ] }, "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 } } }