{
"error": "INSUFFICIENT_CREDITS",
"code": "IMAGE_GENERATION_INSUFFICIENT_CREDITS",
"message": "Insufficient credits for this generation."
}
{
"error": "WORKSPACE_FORBIDDEN",
"code": "WORKSPACE_FORBIDDEN",
"message": "You do not have access to this workspace."
}
{
"error": "TEMPLATE_NOT_FOUND",
"code": "TEMPLATE_NOT_FOUND",
"message": "Template not found."
}
{
"error": "IMAGE_GENERATION_CONTENT_REJECTED",
"code": "IMAGE_GENERATION_CONTENT_REJECTED",
"message": "Request content was rejected by the moderation policy."
}
{
"error": "INSUFFICIENT_CREDITS",
"code": "IMAGE_GENERATION_INSUFFICIENT_CREDITS",
"message": "Insufficient credits for this generation."
}
{
"error": "WORKSPACE_FORBIDDEN",
"code": "WORKSPACE_FORBIDDEN",
"message": "You do not have access to this workspace."
}
{
"error": "TEMPLATE_NOT_FOUND",
"code": "TEMPLATE_NOT_FOUND",
"message": "Template not found."
}
{
"error": "IMAGE_GENERATION_CONTENT_REJECTED",
"code": "IMAGE_GENERATION_CONTENT_REJECTED",
"message": "Request content was rejected by the moderation policy."
}
Text prompt describing the desired image. Supports Chinese and English.
image_urls
string<uri>[]
Input images to transform or use as reference (supports up to 4 images).
negative_prompt
string
default:""
Content to avoid in the generated image. Max 500 characters.
Maximum string length: 500
image_size
enum<string>
The size of the generated image. If not provided, the size of the final input image will be used. Total number of pixels must be between 512x512 and 2048x2048.
Available options:
square_hd,
square,
portrait_4_3,
portrait_16_9,
landscape_4_3,
landscape_16_9
aspect_ratio
enum<string>
default:1:1
Aspect ratio for the generated image.
Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
enable_prompt_expansion
boolean
default:true
Enable LLM prompt optimization for better results.
seed
integer | null
Random seed for reproducibility (0-2147483647).
Required range: 0 <= x <= 2147483647
num_images
integer
default:1
Number of images to generate (1-4).
Required range: 1 <= x <= 4
output_format
enum<string>
default:png
The format of the generated image.
Available options:
jpeg,
png,
webp
n
integer
default:1
Number of results to generate (1-4)
Required range: 1 <= x <= 4
Response
Generation submission accepted
id
string
required
Generation id.
status
enum<string>
required
Queue status
Available options:
IN_QUEUE,
IN_PROGRESS,
COMPLETED,
FAILED,
CANCELED
input
Input · object
required
Normalized input payload for the generation task.
Show child attributes
usage
object
required
Credit usage breakdown for the request
Show child attributes
code
string
Machine-readable generation error code. Present when status is FAILED.
message
string
Sanitized human-readable failure message. Present when status is FAILED.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"skills.video","colors":{"primary":"#8b3dff","light":"#8b3dff","dark":"#8b3dff"},"logo":{"light":"https://mintcdn.com/blendduck-2834aad9/vArVwxW9REHjPdvP/logo/light.svg?fit=max\u0026auto=format\u0026n=vArVwxW9REHjPdvP\u0026q=85\u0026s=24380b4ad31057a17f3c8031790dacf2","dark":"https://mintcdn.com/blendduck-2834aad9/vArVwxW9REHjPdvP/logo/dark.svg?fit=max\u0026auto=format\u0026n=vArVwxW9REHjPdvP\u0026q=85\u0026s=9bd65adc092e3499a558afb50d93bf9a","href":"https://skills.video"},"favicon":"https://mintcdn.com/blendduck-2834aad9/LgZy_saWNEGlESk1/favicon.svg?fit=max\u0026auto=format\u0026n=LgZy_saWNEGlESk1\u0026q=85\u0026s=658e6d4b7c693d576883a35bb8552706","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","php","go","java","ruby","swift"],"prefill":true}},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://skills.video/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/z9e3ZXXKVf"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"blendduck-2834aad9","hasAudioNarration":false,"actualSubdomain":"blendduck-2834aad9","customDomains":["docs.skills.video"],"gitSource":{"type":"github","owner":"colorhook","repo":"mintlify-docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"entitlements":{},"buildId":"6ae943c5b477dfa5519ff370:success","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"Home","count":84},{"language":"default","tag":"APIs","count":76},{"language":"default","tag":"Videos","count":39},{"language":"default","tag":"Images","count":28},{"language":"default","tag":"Kling AI","count":8},{"language":"default","tag":"Bytedance","count":8},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Google","count":6},{"language":"default","tag":"TTS","count":5},{"language":"default","tag":"OpenAI","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/qwen-image-20-pro","slug":"/api-reference/qwen-image-20-pro","pageMetadata":{"title":"Qwen Image 2.0 Pro","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /generation/qwen/qwen-image-2-pro","href":"/api-reference/qwen-image-20-pro","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components};return _jsx(_components.p,{children:`Qwen Image 2.0 Pro text-to-image model`})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Qwen Image 2.0 Pro","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /generation/qwen/qwen-image-2-pro","href":"/api-reference/qwen-image-20-pro","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Qwen Image 2.0 Pro","x-mint":{"title":"Qwen Image 2.0 Pro","content":"Qwen Image 2.0 Pro text-to-image model"},"security":["58b6feb7-d5d4-4d87-929c-7a65928e6cfe"],"requestBody":"93e4dd18-5279-4f37-9cc4-93771d38a565","responses":{"200":"c12fd7ae-4f36-4a08-9e74-337e1add6b5e","400":"94154da2-3302-4fae-ab5c-17e2e091590d","401":"7238ee22-458b-4425-8fe5-5d41190e30a4","402":"a0441fb1-71d2-4329-9752-1e94b6a42b87","403":"87533207-cb54-4a23-ab72-58ec93e4e518","404":"616a3b76-1820-48d9-941f-055da8faa1f0","422":"6723174a-8858-4f4f-867b-63ccc77d8a0b","429":"edc3d491-b0a0-47d7-afb0-51b955723158","500":"56a36ee1-216f-44a9-977a-6d08f8db286c","502":"40ecbddf-bf35-4d36-9df7-d64acdca3523","503":"9e361b93-8656-412c-b0c0-01cf44f2fdc4","504":"f58cb280-0284-4e1a-a54e-63aae43b2131"},"method":"post","type":"path","servers":["eb5a38af-83b8-4095-a17d-d71dd29e0397"],"path":"/generation/qwen/qwen-image-2-pro","baseUrlOptions":["https://open.skills.video/api/v1"],"title":"Qwen Image 2.0 Pro","description":"","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","php","go","java","ruby","swift"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.prompt":"\u003cstring>","body.negative_prompt":"","body.aspect_ratio":"1:1","body.enable_prompt_expansion":true,"body.seed.oneOf.0":1073741823,"body.num_images":1,"body.output_format":"png","body.n":1}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"description":"Text prompt describing the desired image. Supports Chinese and English.","title":"Prompt","order":0,"type":"string","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"image_urls":{"description":"Input images to transform or use as reference (supports up to 4 images).","title":"Image Input","order":1,"xMax":4,"default":[],"type":"array","items":{"format":"uri","type":"string","uniqueKey":"image_urls.items.[INDEX]","typeLabel":"string\u003curi>"},"uniqueKey":"image_urls","typeLabel":"string\u003curi>[]"},"negative_prompt":{"description":"Content to avoid in the generated image. Max 500 characters.","title":"Negative Prompt","order":2,"default":"","type":"string","maxLength":500,"uniqueKey":"negative_prompt","typeLabel":"string"},"image_size":{"description":"The size of the generated image. If not provided, the size of the final input image will be used. Total number of pixels must be between 512x512 and 2048x2048.","title":"image_size","order":3,"type":"string","enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"],"uniqueKey":"image_size","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"description":"Aspect ratio for the generated image.","title":"aspect_ratio","order":4,"default":"1:1","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"enable_prompt_expansion":{"description":"Enable LLM prompt optimization for better results.","title":"Enable Prompt Expansion","order":5,"default":true,"type":"boolean","uniqueKey":"enable_prompt_expansion","typeLabel":"boolean"},"seed":{"oneOf":[{"type":"integer","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","maximum":2147483647,"minimum":0,"uniqueKey":"seed.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","uniqueKey":"seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"seed","typeLabel":"integer | null"},"num_images":{"description":"Number of images to generate (1-4).","title":"Number Of Images","order":9,"default":1,"type":"integer","minimum":1,"maximum":4,"uniqueKey":"num_images","typeLabel":"integer"},"output_format":{"description":"The format of the generated image.","title":"output_format","order":10,"default":"png","type":"string","enum":["jpeg","png","webp"],"uniqueKey":"output_format","typeLabel":"enum\u003cstring>"},"n":{"default":1,"description":"Number of results to generate (1-4)","type":"integer","minimum":1,"maximum":4,"uniqueKey":"n","typeLabel":"integer"}},"required":["prompt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","image_urls":[],"negative_prompt":"","aspect_ratio":"1:1","enable_prompt_expansion":true,"seed":1073741823,"num_images":1,"output_format":"png","n":1}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","properties":{"prompt":{"description":"Text prompt describing the desired image. Supports Chinese and English.","title":"Prompt","order":0,"type":"string","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"image_urls":{"description":"Input images to transform or use as reference (supports up to 4 images).","title":"Image Input","order":1,"xMax":4,"x-cli-aliases":["image","images"],"default":[],"type":"array","items":{"oneOf":[{"type":"string","description":"When using application/json, send a public URL. When using multipart/form-data, send either a public URL or a binary file upload.","format":"uri","uniqueKey":"image_urls.items.[INDEX].oneOf.0","typeLabel":"string\u003curi>"},{"type":"string","description":"When using application/json, send a public URL. When using multipart/form-data, send either a public URL or a binary file upload.","format":"binary","uniqueKey":"image_urls.items.[INDEX].oneOf.1","typeLabel":"file"}],"uniqueKey":"image_urls.items.[INDEX]","typeLabel":"string\u003curi> | file"},"uniqueKey":"image_urls","typeLabel":"(string\u003curi> | file)[]"},"negative_prompt":{"description":"Content to avoid in the generated image. Max 500 characters.","title":"Negative Prompt","order":2,"default":"","type":"string","maxLength":500,"uniqueKey":"negative_prompt","typeLabel":"string"},"image_size":{"description":"The size of the generated image. If not provided, the size of the final input image will be used. Total number of pixels must be between 512x512 and 2048x2048.","title":"image_size","order":3,"type":"string","enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"],"uniqueKey":"image_size","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"description":"Aspect ratio for the generated image.","title":"aspect_ratio","order":4,"default":"1:1","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"enable_prompt_expansion":{"description":"Enable LLM prompt optimization for better results.","title":"Enable Prompt Expansion","order":5,"default":true,"type":"boolean","uniqueKey":"enable_prompt_expansion","typeLabel":"boolean"},"seed":{"oneOf":[{"type":"integer","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","maximum":2147483647,"minimum":0,"uniqueKey":"seed.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","uniqueKey":"seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"seed","typeLabel":"integer | null"},"num_images":{"description":"Number of images to generate (1-4).","title":"Number Of Images","order":9,"default":1,"type":"integer","minimum":1,"maximum":4,"uniqueKey":"num_images","typeLabel":"integer"},"output_format":{"description":"The format of the generated image.","title":"output_format","order":10,"default":"png","type":"string","enum":["jpeg","png","webp"],"uniqueKey":"output_format","typeLabel":"enum\u003cstring>"},"n":{"default":1,"description":"Number of results to generate (1-4)","type":"integer","minimum":1,"maximum":4,"uniqueKey":"n","typeLabel":"integer"}},"required":["prompt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","image_urls":[],"negative_prompt":"","aspect_ratio":"1:1","enable_prompt_expansion":true,"seed":1073741823,"num_images":1,"output_format":"png","n":1}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c12fd7ae-4f36-4a08-9e74-337e1add6b5e":{"description":"Generation submission accepted","content":{"application/json":{"example":{"id":"gen_123","status":"IN_QUEUE","input":{"prompt":"a cat","aspect_ratio":"1:1","resolution":"1024x1024","n":1},"usage":{"total":20,"subscription":20,"permanent":0}},"schema":{"type":"object","properties":{"id":{"description":"Generation id.","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"description":"Queue status","type":"string","enum":["IN_QUEUE","IN_PROGRESS","COMPLETED","FAILED","CANCELED"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"input":{"title":"Input","type":"object","properties":{"prompt":{"description":"Text prompt describing the desired image. Supports Chinese and English.","title":"Prompt","order":0,"type":"string","isRequired":true,"uniqueKey":"input.prompt","typeLabel":"string"},"image_urls":{"description":"Input images to transform or use as reference (supports up to 4 images).","title":"Image Input","order":1,"xMax":4,"default":[],"type":"array","items":{"format":"uri","type":"string","uniqueKey":"input.image_urls.items.[INDEX]","typeLabel":"string\u003curi>"},"uniqueKey":"input.image_urls","typeLabel":"string\u003curi>[]"},"negative_prompt":{"description":"Content to avoid in the generated image. Max 500 characters.","title":"Negative Prompt","order":2,"default":"","type":"string","maxLength":500,"uniqueKey":"input.negative_prompt","typeLabel":"string"},"image_size":{"description":"The size of the generated image. If not provided, the size of the final input image will be used. Total number of pixels must be between 512x512 and 2048x2048.","title":"image_size","order":3,"type":"string","enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"],"uniqueKey":"input.image_size","typeLabel":"enum\u003cstring>"},"aspect_ratio":{"description":"Aspect ratio for the generated image.","title":"aspect_ratio","order":4,"default":"1:1","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3"],"uniqueKey":"input.aspect_ratio","typeLabel":"enum\u003cstring>"},"enable_prompt_expansion":{"description":"Enable LLM prompt optimization for better results.","title":"Enable Prompt Expansion","order":5,"default":true,"type":"boolean","uniqueKey":"input.enable_prompt_expansion","typeLabel":"boolean"},"seed":{"oneOf":[{"type":"integer","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","maximum":2147483647,"minimum":0,"uniqueKey":"input.seed.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Seed","description":"Random seed for reproducibility (0-2147483647).","uniqueKey":"input.seed.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.seed","typeLabel":"integer | null"},"num_images":{"description":"Number of images to generate (1-4).","title":"Number Of Images","order":9,"default":1,"type":"integer","minimum":1,"maximum":4,"uniqueKey":"input.num_images","typeLabel":"integer"},"output_format":{"description":"The format of the generated image.","title":"output_format","order":10,"default":"png","type":"string","enum":["jpeg","png","webp"],"uniqueKey":"input.output_format","typeLabel":"enum\u003cstring>"}},"required":["prompt"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"input.additionalProperties","typeLabel":"any"},"description":"Normalized input payload for the generation task.","isRequired":true,"uniqueKey":"input","typeLabel":"Input · object"},"usage":{"description":"Credit usage breakdown for the request","type":"object","properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"usage.total","typeLabel":"integer"},"subscription":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"usage.subscription","typeLabel":"integer"},"permanent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"usage.permanent","typeLabel":"integer"}},"required":["total","subscription","permanent"],"additionalProperties":false,"isRequired":true,"uniqueKey":"usage","typeLabel":"object"},"code":{"description":"Machine-readable generation error code. Present when `status` is `FAILED`.","type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"description":"Sanitized human-readable failure message. Present when `status` is `FAILED`.","type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["id","status","input","usage"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"gen_123","status":"IN_QUEUE","input":{"prompt":"a cat","aspect_ratio":"1:1","resolution":"1024x1024","n":1},"usage":{"total":20,"subscription":20,"permanent":0}}}},"exampleType":"examples"}},"exampleType":"examples"},"94154da2-3302-4fae-ab5c-17e2e091590d":{"description":"Image generation request was rejected as invalid or model is not supported.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_INVALID_INPUT","code":"IMAGE_GENERATION_INVALID_INPUT","message":"'prompt' parameter is required"},"schema":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"oneOf.0.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.0.details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"oneOf.0.requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"oneOf.0.available","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["code","message"],"properties":{"code":{"description":"Template error code.","type":"string","enum":["TEMPLATE_NOT_FOUND","TEMPLATE_MODEL_MISMATCH","TEMPLATE_INVALID_INPUT","TEMPLATE_TRANSFORM_FAILED"],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable template error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"oneOf.1.error","typeLabel":"string"},"errors":{"description":"Field-level template validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.1.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["code","message"],"properties":{"code":{"description":"Machine-readable error code. Use this to branch in client code.","type":"string","isRequired":true,"uniqueKey":"oneOf.2.code","typeLabel":"string"},"message":{"description":"Human readable error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.2.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations. This may contain an unprefixed compatibility code for older clients.","type":"string","uniqueKey":"oneOf.2.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.2.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.2.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_INVALID_INPUT","code":"IMAGE_GENERATION_INVALID_INPUT","message":"'prompt' parameter is required"}}},"exampleType":"examples"}},"exampleType":"examples"},"7238ee22-458b-4425-8fe5-5d41190e30a4":{"description":"Authentication required or failed","content":{"application/json":{"example":{"error":"UNAUTHORIZED","code":"UNAUTHORIZED","message":"Unauthorized"},"schema":{"type":"object","properties":{"code":{"description":"Machine-readable error code. Use this to branch in client code.","type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"description":"Human readable error message.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations. This may contain an unprefixed compatibility code for older clients.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UNAUTHORIZED","code":"UNAUTHORIZED","message":"Unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"a0441fb1-71d2-4329-9752-1e94b6a42b87":{"description":"Workspace does not have enough credits to run this generation.","content":{"application/json":{"example":{"error":"INSUFFICIENT_CREDITS","code":"IMAGE_GENERATION_INSUFFICIENT_CREDITS","message":"Insufficient credits for this generation."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"INSUFFICIENT_CREDITS","code":"IMAGE_GENERATION_INSUFFICIENT_CREDITS","message":"Insufficient credits for this generation."}}},"exampleType":"examples"}},"exampleType":"examples"},"87533207-cb54-4a23-ab72-58ec93e4e518":{"description":"Workspace access is forbidden or Seedance verification is required.","content":{"application/json":{"example":{"error":"WORKSPACE_FORBIDDEN","code":"WORKSPACE_FORBIDDEN","message":"You do not have access to this workspace."},"schema":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"description":"Machine-readable error code. Use this to branch in client code.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"string"},"message":{"description":"Human readable error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations. This may contain an unprefixed compatibility code for older clients.","type":"string","uniqueKey":"oneOf.0.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.0.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["code","message"],"properties":{"code":{"description":"Seedance verification error code.","type":"string","const":"SEEDANCE_VERIFICATION_REQUIRED","isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"string"},"message":{"description":"Human readable verification error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"oneOf.1.error","typeLabel":"string"},"verification":{"oneOf":[{"description":"Current Seedance verification state when available.","uniqueKey":"oneOf.1.verification.oneOf.0","typeLabel":"any"},{"type":"null","description":"Current Seedance verification state when available.","uniqueKey":"oneOf.1.verification.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.verification","typeLabel":"any | null"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"WORKSPACE_FORBIDDEN","code":"WORKSPACE_FORBIDDEN","message":"You do not have access to this workspace."}}},"exampleType":"examples"}},"exampleType":"examples"},"616a3b76-1820-48d9-941f-055da8faa1f0":{"description":"Resource, model, or template not found.","content":{"application/json":{"example":{"error":"TEMPLATE_NOT_FOUND","code":"TEMPLATE_NOT_FOUND","message":"Template not found."},"schema":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"description":"Machine-readable error code. Use this to branch in client code.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"string"},"message":{"description":"Human readable error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations. This may contain an unprefixed compatibility code for older clients.","type":"string","uniqueKey":"oneOf.0.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.0.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["code","message"],"properties":{"code":{"description":"Template error code.","type":"string","enum":["TEMPLATE_NOT_FOUND","TEMPLATE_MODEL_MISMATCH","TEMPLATE_INVALID_INPUT","TEMPLATE_TRANSFORM_FAILED"],"isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable template error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"oneOf.1.error","typeLabel":"string"},"errors":{"description":"Field-level template validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.1.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"TEMPLATE_NOT_FOUND","code":"TEMPLATE_NOT_FOUND","message":"Template not found."}}},"exampleType":"examples"}},"exampleType":"examples"},"6723174a-8858-4f4f-867b-63ccc77d8a0b":{"description":"Upstream moderation rejected the request content.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_CONTENT_REJECTED","code":"IMAGE_GENERATION_CONTENT_REJECTED","message":"Request content was rejected by the moderation policy."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_CONTENT_REJECTED","code":"IMAGE_GENERATION_CONTENT_REJECTED","message":"Request content was rejected by the moderation policy."}}},"exampleType":"examples"}},"exampleType":"examples"},"edc3d491-b0a0-47d7-afb0-51b955723158":{"description":"Generation rate limit exceeded upstream.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_RATE_LIMITED","code":"IMAGE_GENERATION_RATE_LIMITED","message":"Rate limit exceeded. Please retry later."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_RATE_LIMITED","code":"IMAGE_GENERATION_RATE_LIMITED","message":"Rate limit exceeded. Please retry later."}}},"exampleType":"examples"}},"exampleType":"examples"},"56a36ee1-216f-44a9-977a-6d08f8db286c":{"description":"Image generation failed before provider execution completed. Response includes code and message fields.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_FAILED","code":"IMAGE_GENERATION_FAILED","message":"Generation failed."},"schema":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"oneOf.0.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.0.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.0.details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"oneOf.0.requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"oneOf.0.available","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["code","message"],"properties":{"code":{"description":"Machine-readable error code. Use this to branch in client code.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"string"},"message":{"description":"Human readable error message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations. This may contain an unprefixed compatibility code for older clients.","type":"string","uniqueKey":"oneOf.1.error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"oneOf.1.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"oneOf.1.details","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_FAILED","code":"IMAGE_GENERATION_FAILED","message":"Generation failed."}}},"exampleType":"examples"}},"exampleType":"examples"},"40ecbddf-bf35-4d36-9df7-d64acdca3523":{"description":"Image generation failed. Returned when the upstream provider reports a generic failure.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_FAILED","code":"IMAGE_GENERATION_FAILED","message":"Generation failed."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_FAILED","code":"IMAGE_GENERATION_FAILED","message":"Generation failed."}}},"exampleType":"examples"}},"exampleType":"examples"},"9e361b93-8656-412c-b0c0-01cf44f2fdc4":{"description":"Upstream generation provider is unavailable.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_PROVIDER_UNAVAILABLE","code":"IMAGE_GENERATION_PROVIDER_UNAVAILABLE","message":"Upstream generation provider is temporarily unavailable."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_PROVIDER_UNAVAILABLE","code":"IMAGE_GENERATION_PROVIDER_UNAVAILABLE","message":"Upstream generation provider is temporarily unavailable."}}},"exampleType":"examples"}},"exampleType":"examples"},"f58cb280-0284-4e1a-a54e-63aae43b2131":{"description":"Image generation exceeded the upstream timeout.","content":{"application/json":{"example":{"error":"IMAGE_GENERATION_TIMEOUT","code":"IMAGE_GENERATION_TIMEOUT","message":"Generation timed out."},"schema":{"type":"object","properties":{"code":{"description":"Image generation error code. `*_FAILED` is the generic fallback; more specific codes (`*_TIMEOUT`, `*_RATE_LIMITED`, `*_PROVIDER_UNAVAILABLE`, `*_UNSUPPORTED_MODEL`, `*_INVALID_INPUT`, `*_INSUFFICIENT_CREDITS`, `*_CONTENT_REJECTED`) are surfaced when applicable.","type":"string","enum":["IMAGE_GENERATION_FAILED","IMAGE_GENERATION_TIMEOUT","IMAGE_GENERATION_RATE_LIMITED","IMAGE_GENERATION_PROVIDER_UNAVAILABLE","IMAGE_GENERATION_UNSUPPORTED_MODEL","IMAGE_GENERATION_INVALID_INPUT","IMAGE_GENERATION_INSUFFICIENT_CREDITS","IMAGE_GENERATION_CONTENT_REJECTED"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human readable error message. Upstream vendor names are redacted.","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"description":"Legacy machine-readable error field. Prefer `code` for new integrations.","type":"string","uniqueKey":"error","typeLabel":"string"},"errors":{"description":"Field-level validation errors when available.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"required":["path","message","code"],"additionalProperties":false,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"details":{"description":"Additional structured error details when available.","uniqueKey":"details","typeLabel":"any"},"requested":{"description":"Requested credits when the error is insufficient credits.","type":"number","uniqueKey":"requested","typeLabel":"number"},"available":{"description":"Available credits when the error is insufficient credits.","type":"number","uniqueKey":"available","typeLabel":"number"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"IMAGE_GENERATION_TIMEOUT","code":"IMAGE_GENERATION_TIMEOUT","message":"Generation timed out."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"58b6feb7-d5d4-4d87-929c-7a65928e6cfe":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key for API endpoints","scopes":[]}}},"servers":{"eb5a38af-83b8-4095-a17d-d71dd29e0397":{"url":"https://open.skills.video/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"API Key for API endpoints","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API Key for API endpoints","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"blendduck-2834aad9","siteName":"skills.video","title":"Qwen Image 2.0 Pro - skills.video","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-08T06:37:56.849Z","originalFileLocation":"api-reference/qwen-image-20-pro.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=\"application-name\" content=\"skills.video\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Qwen Image 2.0 Pro - skills.video\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"skills.video\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.skills.video/api-reference/qwen-image-20-pro\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://blendduck-2834aad9.mintlify.site/_mintlify/api/og/v2?division=Qwen\u0026amp;title=Qwen+Image+2.0+Pro\u0026amp;theme=179490b5edc0fa461ddcd645\u0026amp;signature=fff44a397e1adcb29bd8f1df96f3fda39809627a083a7d384c7d87d1dd76c083\">\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=\"Qwen Image 2.0 Pro - skills.video\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://blendduck-2834aad9.mintlify.site/_mintlify/api/og/v2?division=Qwen\u0026amp;title=Qwen+Image+2.0+Pro\u0026amp;theme=179490b5edc0fa461ddcd645\u0026amp;signature=fff44a397e1adcb29bd8f1df96f3fda39809627a083a7d384c7d87d1dd76c083\">\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/blendduck-2834aad9/VEUYGpoQ6RBSWfa0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"skills.video\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b3dff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.skills.video/api-reference/qwen-image-20-pro\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/qwen-image-20-pro.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.skills.video/#organization\",\"name\":\"skills.video\",\"url\":\"https://docs.skills.video\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/blendduck-2834aad9/vArVwxW9REHjPdvP/logo/light.svg?fit=max\u0026auto=format\u0026n=vArVwxW9REHjPdvP\u0026q=85\u0026s=24380b4ad31057a17f3c8031790dacf2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.skills.video#website\",\"name\":\"skills.video\",\"url\":\"https://docs.skills.video\",\"publisher\":{\"@id\":\"https://docs.skills.video/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.skills.video/api-reference/qwen-image-20-pro#webpage\",\"url\":\"https://docs.skills.video/api-reference/qwen-image-20-pro\",\"name\":\"Qwen Image 2.0 Pro\",\"dateModified\":\"2026-05-08T06:37:56.849Z\",\"isPartOf\":{\"@id\":\"https://docs.skills.video#website\"},\"breadcrumb\":{\"@id\":\"https://docs.skills.video/api-reference/qwen-image-20-pro#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.skills.video/api-reference/qwen-image-20-pro#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIs\",\"item\":\"https://docs.skills.video/api-reference/sora-2-pro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Images\",\"item\":\"https://docs.skills.video/api-reference/nano-banana-2\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Qwen Image 2.0 Pro\",\"item\":\"https://docs.skills.video/api-reference/qwen-image-20-pro\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.skills.video/api-reference/qwen-image-20-pro#apireference\",\"headline\":\"Qwen Image 2.0 Pro\",\"name\":\"Qwen Image 2.0 Pro\",\"url\":\"https://docs.skills.video/api-reference/qwen-image-20-pro\",\"mainEntityOfPage\":{\"@id\":\"https://docs.skills.video/api-reference/qwen-image-20-pro#webpage\"},\"dateModified\":\"2026-05-08T06:37:56.849Z\",\"publisher\":{\"@id\":\"https://docs.skills.video/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.skills.video#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"skills.video\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"skills.video\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/qwen-image-20-pro.md","siteName":"skills.video","nav":{"global":null,"tabs":[{"tab":"Home","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quick Start","href":"/quickstart"},{"title":"Skills Usage","href":"/skills-usage"},{"title":"Authentication","href":"/authentication"},{"title":"SSE Streaming","href":"/sse"},{"title":"Webhooks","href":"/webhook"}]},{"group":"Billing","pages":[{"title":"Pricing Overview","href":"/billing/pricing-overview"},{"title":"Usage-Based Pricing","href":"/billing/usage-based-pricing"}]},{"group":"APIs","pages":[{"group":"Videos","pages":[{"group":"OpenAI","pages":[{"title":"Sora 2 Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/openai/sora-2-pro","href":"/api-reference/sora-2-pro"},{"title":"Sora","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/openai/sora-2","href":"/api-reference/sora"}]},{"group":"Google","pages":[{"title":"Veo 3.1","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/veo-3.1","href":"/api-reference/veo-31"},{"title":"Veo 3.1 Fast","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/veo-3.1-fast","href":"/api-reference/veo-31-fast"},{"title":"Veo 3.1 Lite","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/veo-3.1-lite","href":"/api-reference/veo-31-lite"}]},{"group":"Bytedance","pages":[{"title":"Seedance 2.0","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-2.0","href":"/api-reference/seedance-20"},{"title":"Seedance 2.0 Fast","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-2.0/fast","href":"/api-reference/seedance-20-fast"},{"title":"Seedance 2.0 Fast","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-2.0/fast","href":"/api-reference/seedance-20-fast"},{"title":"Seedance 1 Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-1-pro","href":"/api-reference/seedance-1-pro"},{"title":"Seedance 1 Pro Fast","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-1-pro-fast","href":"/api-reference/seedance-1-pro-fast"},{"title":"Seedance 1.5","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedance-1.5","href":"/api-reference/seedance-15"}]},{"group":"HappyHorse","pages":[{"title":"HappyHorse 1.0","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/happyhorse/happyhorse-1.0","href":"/api-reference/happyhorse-10"}]},{"group":"xAI","pages":[{"title":"Grok Imagine Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/xai/grok-imagine-video","href":"/api-reference/grok-imagine-video"},{"title":"Grok Imagine Edit Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/xai/grok-imagine-video/edit-video","href":"/api-reference/grok-imagine-edit-video"},{"title":"Grok Imagine Extend Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/xai/grok-imagine-video/extend-video","href":"/api-reference/grok-imagine-extend-video"}]},{"group":"Kling AI","pages":[{"title":"Kling 3.0","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/v3/video","href":"/api-reference/kling-30"},{"title":"Kling O3 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/o3/video","href":"/api-reference/kling-o3-video"},{"title":"Kling O1 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/o1/video","href":"/api-reference/kling-o1-video"},{"title":"Kling V2.6 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/kling-v2.6","href":"/api-reference/kling-v26-video"},{"title":"Kling V2.5 Turbo","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/kling-v2.5-turbo","href":"/api-reference/kling-v25-turbo"}]},{"group":"Runway","pages":[{"title":"Runway Gen-4.5","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/runwayml/gen-4.5","href":"/api-reference/runway-gen-45"},{"title":"Runway Gen-4 Turbo","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/runwayml/gen4-turbo","href":"/api-reference/runway-gen-4-turbo"},{"title":"Runway Gen-4 Aleph","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/runwayml/gen4-aleph","href":"/api-reference/runway-gen-4-aleph"}]},{"group":"Wan Video","pages":[{"title":"Wan V2.6","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan-video/wan-v2.6","href":"/api-reference/wan-v26"},{"title":"Wan V2.6","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan-video/wan-v2.6","href":"/api-reference/wan-v26"},{"title":"Wan V2.7 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan/wan-v2.7-video","href":"/api-reference/wan-v27-video"},{"title":"Wan V2.7 Edit Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan/wan-v2.7/edit-video","href":"/api-reference/wan-v27-edit-video"}]},{"group":"Luma","pages":[{"title":"Luma Ray2","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/luma/ray-2","href":"/api-reference/luma-ray2"},{"title":"Luma Ray2 Flash","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/luma/ray-2-flash","href":"/api-reference/luma-ray2-flash"}]},{"group":"Vidu","pages":[{"title":"Vidu Q2 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/vidu/q2/video-turbo","href":"/api-reference/vidu-q2-video"},{"title":"Vidu Q3 Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/vidu/q3","href":"/api-reference/vidu-q3-video"}]},{"group":"MiniMax","pages":[{"title":"Hailuo 2.3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/minimax/hailuo-2.3","href":"/api-reference/hailuo-23"},{"title":"Hailuo 2.3 Fast","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/minimax/hailuo-2.3-fast","href":"/api-reference/hailuo-23-fast"}]},{"group":"Lightricks","pages":[{"title":"LTX 2.3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/ltx-2.3","href":"/api-reference/ltx-23"},{"title":"LTX 2.3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/ltx-2.3","href":"/api-reference/ltx-23"}]},{"group":"PixVerse","pages":[{"title":"PixVerse V5.6","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/pixverse/v5.6","href":"/api-reference/pixverse-v56"},{"title":"PixVerse V6","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/pixverse/v6","href":"/api-reference/pixverse-v6"}]},{"group":"Lipsyncing","pages":[{"title":"OmniHuman v1.5 Lipsync","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/omnihuman-v1.5","href":"/api-reference/omnihuman-v15-lipsync"},{"title":"Sync Lipsync 2","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/sync/lipsync-2","href":"/api-reference/sync-lipsync-2"},{"title":"Veed Lipsync","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/veed/lipsync","href":"/api-reference/veed-lipsync"},{"title":"PixVerse Lipsync","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/pixverse/lipsync","href":"/api-reference/pixverse-lipsync"}]},{"group":"Upscaling","pages":[{"title":"Topaz Upscale Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/topaz/upscale-video","href":"/api-reference/topaz-upscale-video"},{"title":"Topaz Upscale Video","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/topaz/upscale-video","href":"/api-reference/topaz-upscale-video"}]}]},{"group":"Images","pages":[{"group":"Google","pages":[{"title":"Nano Banana 2","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/nano-banana-2","href":"/api-reference/nano-banana-2"},{"title":"Nano Banana Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/nano-banana-pro","href":"/api-reference/nano-banana-pro"},{"title":"Nano Banana","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/google/nano-banana","href":"/api-reference/nano-banana"}]},{"group":"Wan","pages":[{"title":"Wan V2.7 Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan/wan-v2.7-pro","href":"/api-reference/wan-v27-pro"},{"title":"Wan V2.7","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/wan/wan-v2.7","href":"/api-reference/wan-v27"}]},{"group":"OpenAI","pages":[{"title":"GPT Image 2","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/openai/gpt-image-2","href":"/api-reference/gpt-image-2"},{"title":"GPT Image 1.5","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/openai/gpt-image-1.5","href":"/api-reference/gpt-image-15"},{"title":"GPT Image 1","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/openai/gpt-image-1","href":"/api-reference/gpt-image-1"}]},{"group":"Kling AI","pages":[{"title":"Kling V3 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/v3/image","href":"/api-reference/kling-v3-image"},{"title":"Kling O3 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/o3-image","href":"/api-reference/kling-o3-image"},{"title":"Kling O1 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/kling-ai/o1-image","href":"/api-reference/kling-o1-image"}]},{"group":"Virtual Try-On","pages":[{"title":"Kling 1.5 Kolors Virtual Try-On","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/kling/v1-5/kolors-virtual-try-on","href":"/api-reference/kling-15-kolors-virtual-try-on"}]},{"group":"xAI","pages":[{"title":"Grok Imagine Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/xai/grok-imagine-image","href":"/api-reference/grok-imagine-image"}]},{"group":"Bytedance","pages":[{"title":"Seedream 5.0 Lite","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedream-5-lite","href":"/api-reference/seedream-50-lite"},{"title":"Seedream 4.5","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedream-4.5","href":"/api-reference/seedream-45"},{"title":"Seedream 4.0","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /generation/bytedance/seedream-4.0","href":"/api-reference/seedream-40"}]},{"group":"Qwen","pages":[{"title":"Qwen Image 2.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/qwen/qwen-image-2-pro","href":"/api-reference/qwen-image-20-pro"},{"title":"Qwen Image 2.0","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /generation/qwen/qwen-image-2","href":"/api-reference/qwen-image-20"},{"title":"Qwen Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/qwen/qwen-image","href":"/api-reference/qwen-image"}]},{"group":"Vidu","pages":[{"title":"Vidu Q2 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/vidu/q2","href":"/api-reference/vidu-q2-image"},{"title":"Vidu Q2 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/vidu/q2","href":"/api-reference/vidu-q2-image"}]},{"group":"Runway","pages":[{"title":"Runway Gen-4 Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/runwayml/gen4-image","href":"/api-reference/runway-gen-4-image"},{"title":"Runway Gen-4 Image Turbo","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/runwayml/gen4-image-turbo","href":"/api-reference/runway-gen-4-image-turbo"}]},{"group":"Flux","pages":[{"title":"Flux 2 Pro","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/black-forest-labs/flux-2-pro","href":"/api-reference/flux-2-pro"},{"title":"Flux Kontext","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/black-forest-labs/kontext","href":"/api-reference/flux-kontext"}]},{"group":"ideogram","pages":[{"title":"Ideogram V3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/ideogram/ideogram","href":"/api-reference/ideogram-v3"}]},{"group":"Face Swap","pages":[{"title":"Face Swap","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/cdingram/face-swap:d1d6ea8c8be89d664a07a457526f7128109dee7030fdac424788d762c71ed111","href":"/api-reference/face-swap"},{"title":"Face Swap","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/cdingram/face-swap:d1d6ea8c8be89d664a07a457526f7128109dee7030fdac424788d762c71ed111","href":"/api-reference/face-swap"}]},{"group":"Z-Image","pages":[{"title":"Z-Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/z-image/z-image","href":"/api-reference/z-image"}]},{"group":"Upscaling","pages":[{"title":"Topaz Upscale Image","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/topaz/upscale/image","href":"/api-reference/topaz-upscale-image"}]}]},{"group":"TTS","pages":[{"title":"Generate TTS audio (synchronous)","deprecated":null,"version":null,"openapi":"/openapi.json post /ai/tts/generate","href":"/api-reference/generate-tts-audio-synchronous"},{"group":"MiniMax","pages":[{"title":"MiniMax Speech 2.8 HD","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/minimax/speech-2.8-hd","href":"/api-reference/minimax-speech-28-hd"},{"title":"MiniMax Speech 2.8 HD","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/minimax/speech-2.8-hd","href":"/api-reference/minimax-speech-28-hd"},{"title":"MiniMax Speech 2.8 Turbo","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/minimax/speech-2.8-turbo","href":"/api-reference/minimax-speech-28-turbo"},{"title":"MiniMax Speech 2.8 Turbo","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/minimax/speech-2.8-turbo","href":"/api-reference/minimax-speech-28-turbo"}]},{"group":"Qwen","pages":[{"title":"Qwen 3 TTS 1.7B","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/qwen-3-tts/text-to-speech/1.7b","href":"/api-reference/qwen-3-tts-17b"},{"title":"Qwen 3 TTS 1.7B","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/qwen-3-tts/text-to-speech/1.7b","href":"/api-reference/qwen-3-tts-17b"}]},{"group":"ElevenLabs","pages":[{"title":"ElevenLabs Eleven v3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/elevenlabs/tts/eleven-v3","href":"/api-reference/elevenlabs-eleven-v3"},{"title":"ElevenLabs Eleven v3","deprecated":null,"version":null,"openapi":"/openapi.json post /generation/fal-ai/elevenlabs/tts/eleven-v3","href":"/api-reference/elevenlabs-eleven-v3"}]}]},{"group":"Generation Result","pages":[{"title":"Get generation result","deprecated":null,"version":null,"openapi":"/openapi.json get /generation/{id}","href":"/api-reference/get-generation-result"},{"title":"List running generations","deprecated":null,"version":null,"openapi":"/openapi.json get /generations/running","href":"/api-reference/list-running-generations"}]},{"group":"Credits","pages":[{"title":"Get credits balance","deprecated":null,"version":null,"openapi":"/openapi.json get /credits","href":"/api-reference/get-credits-balance"}]},{"title":"HTTP Status \u0026 Error Codes","href":"/http-status"}]}]}]},"basePath":"","title":"Qwen Image 2.0 Pro - skills.video","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-jJHA3WSo.js","utils-DbZn3Mjn.js","cloneDeep-CnBnaSyy.js","_Uint8Array-CMQtTgBR.js","isObject-FP1Yky1u.js","utils-Bl2DvzOJ.js","addUniqueKeysToSchema-BwOLo9p1.js","snippetPresets-BBiPpKa-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-C0px4Tml.js","isEqual-zAyttAAO.js","usePlaygroundInputsStore-Dell6dGw.js","shallow-0VKqkSqN.js","getApiPlaygroundDisplay-CP_ctPEB.js","CodeSnippet-5L35ic0s.js","CodeSnippets-DOXbNhJw.js","Page-DRLI_2Ue.js","getPastedJson-VhzT9m2P.js","icon-CD8_AtCO.js","MethodPill-DGgOMftG.js","DuplicateIcon-DZ6A_EtN.js","createIcon-DUl4oM5f.js","DynamicMarkdown-BGHukeRM.js","SectionHeading-ChrEUs8u.js","axios-vUo_bRtp.js","Markdown-Dj-na-_-.js","dist-C5gjFYHe.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-DEBW87tT.js"]}