{ "model_id": "bytedance/seedream-4.5", "provider_id": "bytedance", "name": "Seedream 4.5", "description": "Seedream 4.5 builds on 4.0 with multi-reference image support, batch generation, and sequential image generation.", "task": "Text-to-Image", "tags": [ "Image Generation", "Multi-Reference", "Batch" ], "context_length": null, "max_output_tokens": null, "schema_version": "1.0.0", "pricing": { "Per image": 0.04 }, "examples": [ { "name": "Simple Generation", "description": "Basic text-to-image generation", "input": { "prompt": "A cozy reading nook with floor-to-ceiling bookshelves and a comfortable armchair" }, "output": { "images": [ "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/bytedance__seedream-4.5/simple-generation-0.jpeg" ] }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "images": [ "https://ark-content-generation-v2-ap-southeast-1.tos-ap-southeast-1.volces.com/seedream-4-5/0217764052077481386b9a8ed856c57501cfa946ce34c9865285c_0.jpeg" ] }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedream-4.5',\n { prompt: 'A cozy reading nook with floor-to-ceiling bookshelves and a comfortable armchair' },\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/seedream-4.5\",\n \"input\": {\n \"prompt\": \"A cozy reading nook with floor-to-ceiling bookshelves and a comfortable armchair\"\n }\n}'" } ] }, { "name": "High Resolution", "description": "4K quality image generation", "input": { "prompt": "A hyperrealistic still life painting of fresh fruit on an antique wooden table with dramatic chiaroscuro lighting", "aspect_ratio": "4:3", "size": "4K" }, "output": { "images": [ "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/bytedance__seedream-4.5/high-resolution-0.jpeg" ] }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "images": [ "https://ark-content-generation-v2-ap-southeast-1.tos-ap-southeast-1.volces.com/seedream-4-5/0217764052077581386b9a8ed856c57501cfa946ce34c985dabe3_0.jpeg" ] }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedream-4.5',\n {\n prompt:\n 'A hyperrealistic still life painting of fresh fruit on an antique wooden table with dramatic chiaroscuro lighting',\n aspect_ratio: '4:3',\n size: '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/seedream-4.5\",\n \"input\": {\n \"prompt\": \"A hyperrealistic still life painting of fresh fruit on an antique wooden table with dramatic chiaroscuro lighting\",\n \"aspect_ratio\": \"4:3\",\n \"size\": \"4K\"\n }\n}'" } ] }, { "name": "Image-to-Image", "description": "Edit using reference images", "input": { "prompt": "Transform this scene into a winter wonderland with snow covering everything", "aspect_ratio": "match_input_image", "image_input": [ "https://replicate.delivery/xezq/0lxxNQSg3NabCZrDiQVAPGVmjP1Q2dd7TgYCOTfI9LpyZaMLA/tmp89gopylq.jpg" ] }, "output": { "images": [ "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/bytedance__seedream-4.5/image-to-image-0.jpeg" ] }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "images": [ "https://ark-content-generation-v2-ap-southeast-1.tos-ap-southeast-1.volces.com/seedream-4-5/0217764052176861386b9a8ed856c57501cfa946ce34c98846458_0.jpeg" ] }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedream-4.5',\n {\n prompt: 'Transform this scene into a winter wonderland with snow covering everything',\n aspect_ratio: 'match_input_image',\n image_input: [\n 'https://replicate.delivery/xezq/0lxxNQSg3NabCZrDiQVAPGVmjP1Q2dd7TgYCOTfI9LpyZaMLA/tmp89gopylq.jpg',\n ],\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/seedream-4.5\",\n \"input\": {\n \"prompt\": \"Transform this scene into a winter wonderland with snow covering everything\",\n \"aspect_ratio\": \"match_input_image\",\n \"image_input\": [\n \"https://replicate.delivery/xezq/0lxxNQSg3NabCZrDiQVAPGVmjP1Q2dd7TgYCOTfI9LpyZaMLA/tmp89gopylq.jpg\"\n ]\n }\n}'" } ] }, { "name": "Sequential Generation", "description": "Generate multiple related images", "input": { "prompt": "A character design sheet for a fantasy warrior: front view, side view, and back view", "aspect_ratio": "16:9", "max_images": 3, "sequential_image_generation": "auto" }, "output": { "images": [ "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/bytedance__seedream-4.5/sequential-generation-0.jpeg" ] }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "images": [ "https://ark-content-generation-v2-ap-southeast-1.tos-ap-southeast-1.volces.com/seedream-4-5/0217764052291261386b9a8ed856c57501cfa946ce34c98481db1_0.jpeg" ] }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedream-4.5',\n {\n prompt: 'A character design sheet for a fantasy warrior: front view, side view, and back view',\n aspect_ratio: '16:9',\n max_images: 3,\n sequential_image_generation: 'auto',\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/seedream-4.5\",\n \"input\": {\n \"prompt\": \"A character design sheet for a fantasy warrior: front view, side view, and back view\",\n \"aspect_ratio\": \"16:9\",\n \"max_images\": 3,\n \"sequential_image_generation\": \"auto\"\n }\n}'" } ] }, { "name": "Multi-Image Edit", "description": "Combine multiple reference images", "input": { "prompt": "Combine the style of the first image with the subject from the second image", "image_input": [ "https://replicate.delivery/xezq/TRYcLgNMrBpPJVq09ICKXWe4Z8d6olzpK5vtQPOB8O23ZaMLA/tmpaecga26m.jpg", "https://replicate.delivery/xezq/1SbAc0aXYXbVD9doyrdCW78hYufVefMsaJXBrETN7Lu2npxsA/tmphvkx7emy.jpg" ], "size": "2K" }, "output": { "images": [ "https://pub-04a6d208d361438ea01b797e6973bd19.r2.dev/catalog/bytedance__seedream-4.5/multi-image-edit-0.jpeg" ] }, "raw_response": { "gatewayMetadata": { "keySource": "Unified" }, "result": { "images": [ "https://ark-content-generation-v2-ap-southeast-1.tos-ap-southeast-1.volces.com/seedream-4-5/0217764052323791386b9a8ed856c57501cfa946ce34c98b2f132_0.jpeg" ] }, "state": "Completed" }, "code_snippets": [ { "label": "typescript", "language": "typescript", "code": "const response = await env.AI.run(\n 'bytedance/seedream-4.5',\n {\n prompt: 'Combine the style of the first image with the subject from the second image',\n image_input: [\n 'https://replicate.delivery/xezq/TRYcLgNMrBpPJVq09ICKXWe4Z8d6olzpK5vtQPOB8O23ZaMLA/tmpaecga26m.jpg',\n 'https://replicate.delivery/xezq/1SbAc0aXYXbVD9doyrdCW78hYufVefMsaJXBrETN7Lu2npxsA/tmphvkx7emy.jpg',\n ],\n size: '2K',\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/seedream-4.5\",\n \"input\": {\n \"prompt\": \"Combine the style of the first image with the subject from the second image\",\n \"image_input\": [\n \"https://replicate.delivery/xezq/TRYcLgNMrBpPJVq09ICKXWe4Z8d6olzpK5vtQPOB8O23ZaMLA/tmpaecga26m.jpg\",\n \"https://replicate.delivery/xezq/1SbAc0aXYXbVD9doyrdCW78hYufVefMsaJXBrETN7Lu2npxsA/tmphvkx7emy.jpg\"\n ],\n \"size\": \"2K\"\n }\n}'" } ] } ], "default_example": null, "code_snippets": [], "supports_async": false, "zdr": false, "zdr_comment": null, "external_info": "https://seed.bytedance.com/en/seedream4_5", "terms": null, "cover_image_url": "https://pub-26f1392c1b674324be6786695bd72257.r2.dev/bytedance/seedream-4.5.png", "metadata": { "Max Images": "15", "Multi-Reference": "Yes", "Sequential Generation": "Yes" }, "request_formats": null, "providers": null, "provider_details": [ { "id": "bytedance", "pricing": { "output_image_count": 0.04 } } ], "banner": null, "created_at": "2026-05-22 17:53:06", "schema": { "input": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "prompt": { "type": "string" }, "image_input": { "type": "array", "items": { "type": "string", "format": "uri" } }, "size": { "type": "string", "enum": [ "2K", "4K" ] }, "aspect_ratio": { "type": "string", "enum": [ "match_input_image", "1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "21:9" ] }, "sequential_image_generation": { "type": "string", "enum": [ "disabled", "auto" ] }, "max_images": { "type": "integer", "minimum": 1, "maximum": 15 }, "disable_safety_checker": { "type": "boolean" } }, "required": [ "prompt" ], "additionalProperties": false }, "output": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "images": { "minItems": 1, "type": "array", "items": { "type": "string", "format": "uri" } } }, "required": [ "images" ], "additionalProperties": false } } }