{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"ModelHunter.AI","colors":{"primary":"#F97316","light":"#FB923C","dark":"#EA580C"},"favicon":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/favicon.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=fb2751ef59c730c04ccf55c7c3233344","logo":{"light":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/light.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=f9c962a304e4151541c466b2589c0457","dark":"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/dark.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=cac88b8721efcde83bafdce955315a27"},"api":{"playground":{"display":"simple"},"mdx":{"server":"https://api.modelhunter.ai","auth":{"method":"bearer","name":"Authorization"}}},"background":{"decoration":null,"color":{"light":null,"dark":"#0A0A0A"}},"navbar":{"links":[{"label":"Dashboard","href":"https://modelhunter.ai/dashboard"},{"label":"Pricing","href":"https://modelhunter.ai/pricing"}],"primary":{"type":"button","label":"Get API Key","href":"https://modelhunter.ai/register"}},"footer":{"socials":{"github":"https://github.com/modelhunter","discord":"https://discord.gg/modelhunter","x":"https://x.com/modelhunter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"riverapi","hasAudioNarration":false,"actualSubdomain":"riverapi","customDomains":["docs.modelhunter.ai"],"gitSource":{"type":"github","owner":"funpunk","repo":"modelhunter-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9470d9540ba2ac587a2f1:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":26},{"language":"default","tag":"Videos","count":14},{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Images","count":4},{"language":"default","tag":"Gemini","count":4},{"language":"default","tag":"Seedance","count":3},{"language":"default","tag":"Tasks","count":3},{"language":"default","tag":"Wan","count":3},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"@media (min-width: 1440px){.max-w-8xl{max-width:1700px!important}[class*=\"peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl\"]{max-width:1700px!important}}@media (min-width: 1920px){.max-w-8xl{max-width:1880px!important}[class*=\"peer-[.is-not-custom]:peer-[.is-not-center]:max-w-8xl\"]{max-width:1880px!important}}"}],"page":{"pagePath":"api-reference/seedream/text-to-image","slug":"/api-reference/seedream/text-to-image","pageMetadata":{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/text-to-image","description":"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.","href":"/api-reference/seedream/text-to-image"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:[_jsx(_components.p,{children:`Seedream model. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-5-0-lite`}),` — Latest, web search support, $0.04/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-4-5`}),` — Flagship, multi-image input, streaming, $0.04/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-4-0`}),` — Multi-image input, $0.03/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-3-0-t2i`}),` — Text-to-image only, seed \u0026 guidance control, $0.03/image`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsx(_components.p,{children:`Input parameters for the generation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Text description of the image to generate. Supports Chinese and English.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommended limits:`}),` 300 Chinese characters or 600 English words.`]})]}),_jsxs(ParamField,{body:`size`,type:`string`,default:`2K`,id:`param-size`,children:[_jsx(_components.p,{children:`Output image size. Options:`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Presets:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1K`}),` — 1024x1024`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`2K`}),` — 2048x2048 (default for 4.0/4.5/5.0)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3K`}),` — 3072x3072 (5.0 only)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4K`}),` — 4096x4096 (4.0/4.5 only)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Custom:`}),` `,_jsx(_components.code,{children:`WxH`}),` in pixels (e.g., `,_jsx(_components.code,{children:`1920x1080`}),`), 128-aligned.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4.0`}),`: Total pixels (w×h) in [921,600 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4.5`}),`: Total pixels (w×h) in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3.0-t2i`}),`: Range [512x512, 2048x2048], 64-aligned, default 1024x1024`]}),`\n`]})]}),_jsx(ParamField,{body:`width`,type:`number`,id:`param-width`,children:_jsxs(_components.p,{children:[`Image width in pixels (alternative to `,_jsx(_components.code,{children:`size`}),`). Must satisfy total pixel and aspect ratio constraints above. 128-aligned.`]})}),_jsx(ParamField,{body:`height`,type:`number`,id:`param-height`,children:_jsxs(_components.p,{children:[`Image height in pixels (alternative to `,_jsx(_components.code,{children:`size`}),`). Must satisfy total pixel and aspect ratio constraints above. 128-aligned.`]})}),_jsx(ParamField,{body:`seed`,type:`number`,default:-1,id:`param-seed`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 3.0 only.`}),` Random seed for reproducibility. Range: `,_jsx(_components.code,{children:`-1`}),` to `,_jsx(_components.code,{children:`2147483647`}),`. `,_jsx(_components.code,{children:`-1`}),` means random.`]})}),_jsx(ParamField,{body:`guidance_scale`,type:`number`,id:`param-guidance-scale`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 3.0 only.`}),` How closely to follow the prompt. Range: `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`10`}),`.`]})}),_jsx(ParamField,{body:`watermark`,type:`boolean`,default:true,id:`param-watermark`,children:_jsx(_components.p,{children:`Whether to add a watermark to the generated image.`})}),_jsxs(ParamField,{body:`optimize_prompt`,type:`string`,id:`param-optimize-prompt`,children:[_jsx(_components.p,{children:`Prompt optimization mode. Enhances the prompt for better generation results.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seedream 4.0/4.5`}),`: Options: `,_jsx(_components.code,{children:`standard`}),`, `,_jsx(_components.code,{children:`fast`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seedream 5.0`}),`: Only supports `,_jsx(_components.code,{children:`standard`})]}),`\n`]})]}),_jsx(ParamField,{body:`output_format`,type:`string`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 5.0 only.`}),` Output image format. Options: `,_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`jpeg`}),`.`]})}),_jsx(ParamField,{body:`web_search`,type:`boolean`,id:`param-web-search`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 5.0 only.`}),` Enable real-time web search to enhance generation with up-to-date information.`]})})]})]}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`URL to receive a webhook when the task completes.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Custom key-value metadata to attach to the task.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/text-to-image","description":"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.","href":"/api-reference/seedream/text-to-image"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:[_jsx(_components.p,{children:`Seedream model. Options:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-5-0-lite`}),` — Latest, web search support, $0.04/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-4-5`}),` — Flagship, multi-image input, streaming, $0.04/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-4-0`}),` — Multi-image input, $0.03/image`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`seedream-3-0-t2i`}),` — Text-to-image only, seed \u0026 guidance control, $0.03/image`]}),`\n`]})]}),`\n`,_jsxs(ParamField,{body:`input`,type:`object`,required:true,id:`param-input`,children:[_jsx(_components.p,{children:`Input parameters for the generation.`}),_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:[_jsx(_components.p,{children:`Text description of the image to generate. Supports Chinese and English.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommended limits:`}),` 300 Chinese characters or 600 English words.`]})]}),_jsxs(ParamField,{body:`size`,type:`string`,default:`2K`,id:`param-size`,children:[_jsx(_components.p,{children:`Output image size. Options:`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Presets:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1K`}),` — 1024x1024`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`2K`}),` — 2048x2048 (default for 4.0/4.5/5.0)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`3K`}),` — 3072x3072 (5.0 only)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`4K`}),` — 4096x4096 (4.0/4.5 only)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Custom:`}),` `,_jsx(_components.code,{children:`WxH`}),` in pixels (e.g., `,_jsx(_components.code,{children:`1920x1080`}),`), 128-aligned.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4.0`}),`: Total pixels (w×h) in [921,600 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4.5`}),`: Total pixels (w×h) in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1]`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3.0-t2i`}),`: Range [512x512, 2048x2048], 64-aligned, default 1024x1024`]}),`\n`]})]}),_jsx(ParamField,{body:`width`,type:`number`,id:`param-width`,children:_jsxs(_components.p,{children:[`Image width in pixels (alternative to `,_jsx(_components.code,{children:`size`}),`). Must satisfy total pixel and aspect ratio constraints above. 128-aligned.`]})}),_jsx(ParamField,{body:`height`,type:`number`,id:`param-height`,children:_jsxs(_components.p,{children:[`Image height in pixels (alternative to `,_jsx(_components.code,{children:`size`}),`). Must satisfy total pixel and aspect ratio constraints above. 128-aligned.`]})}),_jsx(ParamField,{body:`seed`,type:`number`,default:-1,id:`param-seed`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 3.0 only.`}),` Random seed for reproducibility. Range: `,_jsx(_components.code,{children:`-1`}),` to `,_jsx(_components.code,{children:`2147483647`}),`. `,_jsx(_components.code,{children:`-1`}),` means random.`]})}),_jsx(ParamField,{body:`guidance_scale`,type:`number`,id:`param-guidance-scale`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 3.0 only.`}),` How closely to follow the prompt. Range: `,_jsx(_components.code,{children:`1`}),` to `,_jsx(_components.code,{children:`10`}),`.`]})}),_jsx(ParamField,{body:`watermark`,type:`boolean`,default:true,id:`param-watermark`,children:_jsx(_components.p,{children:`Whether to add a watermark to the generated image.`})}),_jsxs(ParamField,{body:`optimize_prompt`,type:`string`,id:`param-optimize-prompt`,children:[_jsx(_components.p,{children:`Prompt optimization mode. Enhances the prompt for better generation results.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seedream 4.0/4.5`}),`: Options: `,_jsx(_components.code,{children:`standard`}),`, `,_jsx(_components.code,{children:`fast`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Seedream 5.0`}),`: Only supports `,_jsx(_components.code,{children:`standard`})]}),`\n`]})]}),_jsx(ParamField,{body:`output_format`,type:`string`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 5.0 only.`}),` Output image format. Options: `,_jsx(_components.code,{children:`png`}),`, `,_jsx(_components.code,{children:`jpeg`}),`.`]})}),_jsx(ParamField,{body:`web_search`,type:`boolean`,id:`param-web-search`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seedream 5.0 only.`}),` Enable real-time web search to enhance generation with up-to-date information.`]})})]})]}),`\n`,_jsx(ParamField,{body:`webhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsx(_components.p,{children:`URL to receive a webhook when the task completes.`})}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Custom key-value metadata to attach to the task.`})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`202`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text-to-image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedream\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"seedream-4-5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATION_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid request parameters\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/text-to-image","description":"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.","href":"/api-reference/seedream/text-to-image"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"202","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_abc123\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text-to-image\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provider\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedream\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"seedream-4-5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T10:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"estimated_seconds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VALIDATION_ERROR\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Invalid request parameters\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Text to Image","path":"/api/v1/seedream/text-to-image","servers":[{"url":"https://api.modelhunter.ai"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Seedream model. Options: `seedream-5-0-lite` — Latest, web search support, $0.04/image `seedream-4-5` — Flagship, multi-image input, streaming, $0.04/image `seedream-4-0` — Multi-image input, $0.03/image `seedream-3-0-t2i` — Text-to-image only, seed \u0026 guidance control, $0.03/image","required":true}],"input":[{"type":"object","properties":{"prompt":[{"type":"string","description":"Text description of the image to generate. Supports Chinese and English. Recommended limits: 300 Chinese characters or 600 English words.","required":true}],"size":[{"type":"string","description":"Output image size. Options: Presets: `1K` — 1024x1024 `2K` — 2048x2048 (default for 4.0/4.5/5.0) `3K` — 3072x3072 (5.0 only) `4K` — 4096x4096 (4.0/4.5 only) Custom: `WxH` in pixels (e.g., `1920x1080` ), 128-aligned. 4.0 : Total pixels (w×h) in [921,600 ~ 16,777,216], aspect ratio [1:16 ~ 16:1] 4.5 : Total pixels (w×h) in [3,686,400 ~ 16,777,216], aspect ratio [1:16 ~ 16:1] 3.0-t2i : Range [512x512, 2048x2048], 64-aligned, default 1024x1024"}],"width":[{"type":"number","description":"Image width in pixels (alternative to `size` ). Must satisfy total pixel and aspect ratio constraints above. 128-aligned."}],"height":[{"type":"number","description":"Image height in pixels (alternative to `size` ). Must satisfy total pixel and aspect ratio constraints above. 128-aligned."}],"seed":[{"type":"number","description":"Seedream 3.0 only. Random seed for reproducibility. Range: `-1` to `2147483647` . `-1` means random."}],"guidance_scale":[{"type":"number","description":"Seedream 3.0 only. How closely to follow the prompt. Range: `1` to `10` ."}],"watermark":[{"type":"boolean","description":"Whether to add a watermark to the generated image."}],"optimize_prompt":[{"type":"string","description":"Prompt optimization mode. Enhances the prompt for better generation results. Seedream 4.0/4.5 : Options: `standard` , `fast` Seedream 5.0 : Only supports `standard`"}],"output_format":[{"type":"string","description":"Seedream 5.0 only. Output image format. Options: `png` , `jpeg` ."}],"web_search":[{"type":"boolean","description":"Seedream 5.0 only. Enable real-time web search to enhance generation with up-to-date information."}]},"description":"Input parameters for the generation.","required":true}],"webhookUrl":[{"type":"string","description":"URL to receive a webhook when the task completes."}],"metadata":[{"type":"object","properties":{},"description":"Custom key-value metadata to attach to the task."}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","input":{"prompt":"\u003cstring>","size":"\u003cstring>","width":123,"height":123,"seed":123,"guidance_scale":123,"watermark":true,"optimize_prompt":"\u003cstring>","output_format":"\u003cstring>","web_search":true},"webhookUrl":"\u003cstring>","metadata":{}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"riverapi","siteName":"ModelHunter.AI","title":"Text to Image - ModelHunter.AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-16T06:41:03.868Z","originalFileLocation":"api-reference/seedream/text-to-image.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Text to Image - ModelHunter.AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://riverapi.mintlify.site/_mintlify/api/og/v2?division=Seedream\u0026amp;title=Text+to+Image\u0026amp;description=Generate+images+from+text+using+ByteDance+Seedream+models+via+Volcengine+Ark.+Supports+up+to+4K+resolution+and+multi-image+input.\u0026amp;theme=ab4026ca7ae18c51bf5204a0\u0026amp;signature=395309817340d34320e24a383d0f7711b460e9c6984e08bb5f430758cacb0bc0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Text to Image - ModelHunter.AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riverapi.mintlify.site/_mintlify/api/og/v2?division=Seedream\u0026amp;title=Text+to+Image\u0026amp;description=Generate+images+from+text+using+ByteDance+Seedream+models+via+Volcengine+Ark.+Supports+up+to+4K+resolution+and+multi-image+input.\u0026amp;theme=ab4026ca7ae18c51bf5204a0\u0026amp;signature=395309817340d34320e24a383d0f7711b460e9c6984e08bb5f430758cacb0bc0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/riverapi/RuwCO58qiTEVQSUG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ModelHunter.AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/seedream/text-to-image.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.modelhunter.ai/#organization\",\"name\":\"ModelHunter.AI\",\"url\":\"https://docs.modelhunter.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/riverapi/-AhjKqN1CHS3Fg9e/logo/light.svg?fit=max\u0026auto=format\u0026n=-AhjKqN1CHS3Fg9e\u0026q=85\u0026s=f9c962a304e4151541c466b2589c0457\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.modelhunter.ai#website\",\"name\":\"ModelHunter.AI\",\"url\":\"https://docs.modelhunter.ai\",\"publisher\":{\"@id\":\"https://docs.modelhunter.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image#webpage\",\"url\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\",\"name\":\"Text to Image\",\"description\":\"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\",\"dateModified\":\"2026-03-16T06:41:03.868Z\",\"isPartOf\":{\"@id\":\"https://docs.modelhunter.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ModelHunter.AI\",\"item\":\"https://docs.modelhunter.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text to Image\",\"item\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image#apireference\",\"headline\":\"Text to Image\",\"name\":\"Text to Image\",\"description\":\"Generate images from text using ByteDance Seedream models via Volcengine Ark. Supports up to 4K resolution and multi-image input.\",\"url\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.modelhunter.ai/api-reference/seedream/text-to-image#webpage\"},\"dateModified\":\"2026-03-16T06:41:03.868Z\",\"publisher\":{\"@id\":\"https://docs.modelhunter.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.modelhunter.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ModelHunter.AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ModelHunter.AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/seedream/text-to-image.md","siteName":"ModelHunter.AI","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Videos","pages":[{"group":"Gemini","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/veo/text-to-video","href":"/api-reference/veo/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/veo/image-to-video","href":"/api-reference/veo/image-to-video"}]},{"group":"Grok","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/grok/text-to-video","href":"/api-reference/grok/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/grok/image-to-video","href":"/api-reference/grok/image-to-video"}]},{"group":"Vidu","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/vidu/text-to-video","href":"/api-reference/vidu/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/vidu/image-to-video","href":"/api-reference/vidu/image-to-video"}]},{"group":"Kling","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/text-to-video","href":"/api-reference/kling/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/kling/image-to-video","href":"/api-reference/kling/image-to-video"}]},{"group":"Seedance","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/text-to-video","href":"/api-reference/seedance/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/image-to-video","href":"/api-reference/seedance/image-to-video"},{"title":"Seedance 2.0 Multimodal Video","api":"POST https://api.modelhunter.ai/api/v1/seedance/multimodal-video","href":"/api-reference/seedance/multimodal-video"}]},{"group":"Wan","pages":[{"title":"Text to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/text-to-video","href":"/api-reference/wan/text-to-video"},{"title":"Image to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/image-to-video","href":"/api-reference/wan/image-to-video"},{"title":"Video to Video","api":"POST https://api.modelhunter.ai/api/v1/wan/video-to-video","description":"Transform one to three source videos using Wan 2.6.","href":"/api-reference/wan/video-to-video"}]}]},{"group":"Images","pages":[{"group":"Seedream","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/text-to-image","href":"/api-reference/seedream/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/seedream/image-to-image","description":"Edit and transform images using ByteDance Seedream models via Volcengine Ark. Supports reference-based generation with single or multiple input images.","href":"/api-reference/seedream/image-to-image"}]},{"group":"Gemini","pages":[{"title":"Text to Image","api":"POST https://api.modelhunter.ai/api/v1/gemini/text-to-image","href":"/api-reference/gemini/text-to-image"},{"title":"Image to Image","api":"POST https://api.modelhunter.ai/api/v1/gemini/image-to-image","href":"/api-reference/gemini/image-to-image"}]}]},{"group":"Audio","pages":[{"group":"ElevenLabs","pages":[{"title":"Text to Speech","api":"POST https://api.modelhunter.ai/api/v1/elevenlabs/text-to-speech","href":"/api-reference/elevenlabs/text-to-speech"},{"title":"List Voices","api":"GET https://api.modelhunter.ai/api/v1/elevenlabs/voices","href":"/api-reference/elevenlabs/voices"}]}]},{"group":"Tasks","pages":[{"title":"List Tasks","api":"GET https://api.modelhunter.ai/api/v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Get Task Status","api":"GET https://api.modelhunter.ai/api/v1/tasks/{id}","href":"/api-reference/tasks/get-task"},{"title":"Retry Task","api":"POST https://api.modelhunter.ai/api/v1/tasks/{id}/retry","href":"/api-reference/tasks/retry-task"}]},{"group":"Files","pages":[{"title":"Get Upload URL","api":"POST https://api.modelhunter.ai/api/v1/files/upload-url","href":"/api-reference/files/get-upload-url"},{"title":"Complete File Upload","api":"POST https://api.modelhunter.ai/api/v1/files/{file_id}/complete","href":"/api-reference/files/complete-upload"}]},{"group":"Billing API","pages":[{"title":"Get Balance","api":"GET https://api.modelhunter.ai/api/v1/balance","href":"/api-reference/billing/get-balance"}]}]}]},"basePath":"","title":"Text to Image - ModelHunter.AI","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}