{ "data": [ { "seed": 12345, "prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.", "resolution": "1024x1024", "url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g", "is_image_safe": true }, { "seed": 12345, "prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.", "resolution": "1024x1024", "url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g", "is_image_safe": true } ], "created": "2000-01-23T04:56:07.000Z"}
Generate(文生图)
Generates images synchronously based on a given prompt and optional parameters.
根据给定的提示和可选参数同步生成图像。
返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。
图像URL为官方原链接,请注意网络环境是否能访问。
{ "data": [ { "seed": 12345, "prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.", "resolution": "1024x1024", "url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g", "is_image_safe": true }, { "seed": 12345, "prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.", "resolution": "1024x1024", "url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g", "is_image_safe": true } ], "created": "2000-01-23T04:56:07.000Z"}
(Cannot be used in conjunction with resolution) The aspect ratio to use for image generation, which determines the image's resolution. Defaults to ASPECT_1_1. (不能与分辨率一起使用)用于图像生成的宽高比,决定图像的分辨率。默认为 ASPECT_1_1。
The style type to generate with; this is only applicable for models V_2 and above and should not be specified for model versions V_1. 生成的样式类型;这仅适用于 V_2 及以上版本的模型,不应为 V_1 版本的模型指定。
Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. 描述从图像中排除的内容。提示中的描述优先于负提示中的描述。
(For model_version for 2.0 only, cannot be used in conjunction with aspect_ratio) The resolution to use for image generation, represented in width x height. If not specified, defaults to using aspect_ratio. (仅适用于 2.0 的 model_version,无法与 aspect_ratio 同时使用)用于图像生成的分辨率,以宽 x 高表示。如果没有指定,则默认为使用 aspect_ratio。
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MaxAPI Developer","description":"MaxAPI 模型接口、集成指南和在线 API 调试文档","colors":{"primary":"#D81E06","light":"#FF6B57","dark":"#B91807"},"logo":{"light":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/light.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=3e02d7853f6f2d38be5b5480f468b8ad","dark":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/dark.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=16d33f7300ba5ccddbca801a3da87ef0","href":"https://api.maxapi.ai"},"favicon":"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=537533922b570685c84068f3d67a60de","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript","go","java"],"prefill":true,"autogenerate":true},"url":"full"},"appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#111217"}},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"contextual":{"options":["copy","view","download-spec"],"display":"header"},"navigation":{"languages":[{"language":"cn","default":true,"navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"模型与价格"},{"href":"https://api.maxapi.ai","label":"控制台"}],"primary":{"type":"button","label":"获取 API Key","href":"https://api.maxapi.ai"}},"href":""},{"language":"en","navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"Models \u0026 pricing"},{"href":"https://api.maxapi.ai","label":"Console"}],"primary":{"type":"button","label":"Get API key","href":"https://api.maxapi.ai"}},"href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"maxapi","hasAudioNarration":false,"actualSubdomain":"maxapi","customDomains":["docs.maxapi.ai"],"gitSource":{"type":"github","owner":"yesbug","repo":"maxapi-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a6f4c9ec4f90ea6d3f13c51","collectionId":"4abc105d-be3d-4973-876b-36820583c414","liveDeploymentHistoryId":"6a6f4c9ec4f90ea6d3f13c51","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a6f4c9ec4f90ea6d3f13c51:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"cn","tag":"API Reference","count":172},{"language":"cn","tag":"模型接口","count":168},{"language":"en","tag":"API Reference","count":128},{"language":"en","tag":"Model APIs","count":124},{"language":"cn","tag":"图像生成与处理","count":60},{"language":"cn","tag":"视频生成","count":54},{"language":"en","tag":"Image generation","count":44},{"language":"en","tag":"Video generation","count":39},{"language":"cn","tag":"工具与 PPT","count":31},{"language":"cn","tag":"场景示例","count":30},{"language":"cn","tag":"PPT 服务","count":30},{"language":"en","tag":"Use cases","count":30},{"language":"en","tag":"Tools \u0026 presentations","count":21},{"language":"cn","tag":"音频与音乐","count":20},{"language":"en","tag":"Presentation services","count":20},{"language":"cn","tag":"佐糖","count":18},{"language":"cn","tag":"Midjourney","count":17},{"language":"en","tag":"Audio \u0026 music","count":17},{"language":"en","tag":"Vidu","count":14},{"language":"en","tag":"Midjourney","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/ideogram(绘画)/generate(文生图)","slug":"/api-reference/ideogram(绘画)/generate(文生图)","pageMetadata":{"title":"Generate(文生图)","description":"Generates images synchronously based on a given prompt and optional parameters.\n根据给定的提示和可选参数同步生成图像。\n返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。\n图像URL为官方原链接,请注意网络环境是否能访问。","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/generate","href":"/api-reference/ideogram(绘画)/generate(文生图)","autogeneratedByOpenApi":true},"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: \"Generates images synchronously based on a given prompt and optional parameters.\\n根据给定的提示和可选参数同步生成图像。\\n返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。\\n图像URL为官方原链接,请注意网络环境是否能访问。\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Generate(文生图)","description":"Generates images synchronously based on a given prompt and optional parameters.\n根据给定的提示和可选参数同步生成图像。\n返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。\n图像URL为官方原链接,请注意网络环境是否能访问。","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/generate","href":"/api-reference/ideogram(绘画)/generate(文生图)","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/maxapi/d98b163ca8914da0/scripts/generate-usercases.js","/_mintlify/custom/maxapi/9e3ee4c5990361c4/scripts/organize-api-navigation.js","/_mintlify/custom/maxapi/443121df9b73d3ea/scripts/prepare-english-openapi.js","/_mintlify/custom/maxapi/8186248c42e21105/scripts/prepare-openapi.js","/_mintlify/custom/maxapi/5c49d97810de30cd/scripts/audit-openapi-coverage.js","/_mintlify/custom/maxapi/d2f3a00987cb3590/scripts/enrich-openapi.js"],"openApiReferenceData":{"operation":{"summary":"Generate(文生图)","deprecated":false,"description":"Generates images synchronously based on a given prompt and optional parameters.\n根据给定的提示和可选参数同步生成图像。\n返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。\n图像URL为官方原链接,请注意网络环境是否能访问。","tags":["Ideogram(绘画)"],"parameters":["1ee9b219-4e43-42f8-8076-1563cd6efc91"],"requestBody":"d02bc8bd-87ea-4870-80c8-985708320989","responses":{"200":"fca4b495-0390-483c-bf3b-ffa4f98c67b8"},"security":[],"method":"post","type":"path","servers":["f78055c6-14ce-4793-bfe7-8067d792f265"],"path":"/ideogram/generate","baseUrlOptions":["https://api.maxapi.ai"],"title":"Generate(文生图)","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go","java"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.image_request.model":"V_2","body.image_request.magic_prompt_option":"AUTO"}],"urlDisplay":"full"},"dependencies":{"parameters":{"1ee9b219-4e43-42f8-8076-1563cd6efc91":{"name":"Authorization","in":"header","description":"","required":false,"example":"","schema":{"type":"string","default":"{{YOUR_API_KEY}}","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"image_request":{"type":"object","properties":{"prompt":{"type":"string","description":"The prompt to use to generate the image. 生成图像的提示。","isRequired":true,"uniqueKey":"image_request.prompt","typeLabel":"string"},"aspect_ratio":{"type":"string","description":"(Cannot be used in conjunction with resolution) The aspect ratio to use for image generation, which determines the image's resolution. Defaults to ASPECT_1_1. (不能与分辨率一起使用)用于图像生成的宽高比,决定图像的分辨率。默认为 ASPECT_1_1。","default":"ASPECT_1_1","uniqueKey":"image_request.aspect_ratio","typeLabel":"string"},"model":{"type":"string","description":"The model used to generate. Defaults to V_2. 用于生成的模型。默认为 V_2。","default":"V_2","example":"V_1","uniqueKey":"image_request.model","typeLabel":"string"},"magic_prompt_option":{"type":"string","description":"Determine if MagicPrompt should be used in generating the request or not 确定是否应该在生成请求时使用 MagicPrompt","default":"AUTO","example":"AUTO","uniqueKey":"image_request.magic_prompt_option","typeLabel":"string"},"seed":{"type":"integer","description":"0 to 2147483647","uniqueKey":"image_request.seed","typeLabel":"integer"},"style_type":{"type":"string","description":"The style type to generate with; this is only applicable for models V_2 and above and should not be specified for model versions V_1. 生成的样式类型;这仅适用于 V_2 及以上版本的模型,不应为 V_1 版本的模型指定。","example":"GENERAL","uniqueKey":"image_request.style_type","typeLabel":"string"},"negative_prompt":{"type":"string","description":"Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt. 描述从图像中排除的内容。提示中的描述优先于负提示中的描述。","uniqueKey":"image_request.negative_prompt","typeLabel":"string"},"resolution":{"type":"string","description":"(For model_version for 2.0 only, cannot be used in conjunction with aspect_ratio) The resolution to use for image generation, represented in width x height. If not specified, defaults to using aspect_ratio. (仅适用于 2.0 的 model_version,无法与 aspect_ratio 同时使用)用于图像生成的分辨率,以宽 x 高表示。如果没有指定,则默认为使用 aspect_ratio。","example":"RESOLUTION_576_1472","uniqueKey":"image_request.resolution","typeLabel":"string"}},"required":["prompt"],"isRequired":true,"uniqueKey":"image_request","typeLabel":"object"}},"required":["image_request"],"uniqueKey":"","typeLabel":"object"},"example":{"image_request":{"model":"V_2","magic_prompt_option":"AUTO"}},"examples":{"Example":{"title":"Example","value":{"image_request":{"model":"V_2","magic_prompt_option":"AUTO"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"fca4b495-0390-483c-bf3b-ffa4f98c67b8":{"description":"请求成功","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"seed":{"type":"integer","description":"0 to 2147483647","isRequired":true,"uniqueKey":"data.items.[INDEX].seed","typeLabel":"integer"},"prompt":{"type":"string","description":"The prompt used for the generation. This may be different from the original prompt. 用于生成的提示。这可能与原始提示不同。","isRequired":true,"uniqueKey":"data.items.[INDEX].prompt","typeLabel":"string"},"resolution":{"type":"string","description":"The resolution of the final image. 最终图像的分辨率。","isRequired":true,"uniqueKey":"data.items.[INDEX].resolution","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"The direct link to the image generated. 生成的图像的直接链接。","isRequired":true,"uniqueKey":"data.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The direct link to the image generated. 生成的图像的直接链接。","isRequired":true,"uniqueKey":"data.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.items.[INDEX].url","typeLabel":"string | null"},"is_image_safe":{"type":"boolean","description":"Whether this request passes safety checks. If false, the url field will be empty. 该请求是否通过安全检查。如果为假,网址字段将为空。","isRequired":true,"uniqueKey":"data.items.[INDEX].is_image_safe","typeLabel":"boolean"}},"required":["seed","prompt","resolution","url","is_image_safe"],"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"created":{"type":"string","description":"The time the request was created. 请求创建的时间。","isRequired":true,"uniqueKey":"created","typeLabel":"string"}},"required":["data","created"],"uniqueKey":"","typeLabel":"object"},"example":{"data":[{"seed":12345,"prompt":"A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.","resolution":"1024x1024","url":"https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g","is_image_safe":true},{"seed":12345,"prompt":"A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.","resolution":"1024x1024","url":"https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g","is_image_safe":true}],"created":"2000-01-23T04:56:07.000Z"},"examples":{"Example":{"title":"Example","value":{"data":[{"seed":12345,"prompt":"A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.","resolution":"1024x1024","url":"https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g","is_image_safe":true},{"seed":12345,"prompt":"A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.","resolution":"1024x1024","url":"https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g","is_image_safe":true}],"created":"2000-01-23T04:56:07.000Z"}}},"exampleType":"examples"}},"headers":{},"exampleType":"examples"}},"security":{},"servers":{"f78055c6-14ce-4793-bfe7-8067d792f265":{"url":"https://api.maxapi.ai","description":"MaxAPI 生产环境"}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"maxapi","siteName":"MaxAPI Developer","title":"Generate(文生图) - MaxAPI Developer","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/api-reference/ideogram(绘画)/generate(文生图)","matchLevel":0},"en":{"href":"/en","matchLevel":4}}},"lastModified":"2026-08-02T13:57:08.369Z","originalFileLocation":"api-reference/ideogram(绘画)/generate(文生图).mdx","locale":"cn"},"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=\"dark\"}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=\"Generates images synchronously based on a given prompt and optional parameters. 根据给定的提示和可选参数同步生成图像。 返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。 图像URL为官方原链接,请注意网络环境是否能访问。\">\u003cmeta data-mint-head name=\"application-name\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/favicon.svg?fit=max\u0026amp;auto=format\u0026amp;n=xGqiQ3c0WbLf28F3\u0026amp;q=85\u0026amp;s=537533922b570685c84068f3d67a60de\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate(文生图) - MaxAPI Developer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates images synchronously based on a given prompt and optional parameters. 根据给定的提示和可选参数同步生成图像。 返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。 图像URL为官方原链接,请注意网络环境是否能访问。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.maxapi.ai/api-reference/ideogram(绘画)/generate(文生图)\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://maxapi.mintlify.app/_mintlify/api/og/v2?division=Ideogram\u0026amp;title=Generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89\u0026amp;description=Generates+images+synchronously+based+on+a+given+prompt+and+optional+parameters.%0A%E6%A0%B9%E6%8D%AE%E7%BB%99%E5%AE%9A%E7%9A%84%E6%8F%90%E7%A4%BA%E5%92%8C%E5%8F%AF%E9%80%89%E5%8F%82%E6%95%B0%E5%90%8C%E6%AD%A5%E7%94%9F%E6%88%90%E5%9B%BE%E5%83%8F%E3%80%82%0A%E8%BF%94%E5%9B%9E%E7%9A%84%E5%9B%BE%E5%83%8F+URL+%E5%9C%A8+24+%E5%B0%8F%E6%97%B6%E5%86%85%E6%9C%89%E6%95%88%EF%BC%8C%E8%B6%85%E8%BF%87%E8%AF%A5%E6%97%B6%E9%97%B4%E5%B0%86%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%E5%9B%BE%E5%83%8F%E3%80%82%0A%E5%9B%BE%E5%83%8FURL%E4%B8%BA%E5%AE%98%E6%96%B9%E5%8E%9F%E9%93%BE%E6%8E%A5%EF%BC%8C%E8%AF%B7%E6%B3%A8%E6%84%8F%E7%BD%91%E7%BB%9C%E7%8E%AF%E5%A2%83%E6%98%AF%E5%90%A6%E8%83%BD%E8%AE%BF%E9%97%AE%E3%80%82\u0026amp;theme=3b26e3f140a7347686f124e1\u0026amp;signature=016ed9f17bc889a3a30ac479bb5245475448c16946ce9f08231387d7554ce7b8\">\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=\"Generate(文生图) - MaxAPI Developer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates images synchronously based on a given prompt and optional parameters. 根据给定的提示和可选参数同步生成图像。 返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。 图像URL为官方原链接,请注意网络环境是否能访问。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://maxapi.mintlify.app/_mintlify/api/og/v2?division=Ideogram\u0026amp;title=Generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89\u0026amp;description=Generates+images+synchronously+based+on+a+given+prompt+and+optional+parameters.%0A%E6%A0%B9%E6%8D%AE%E7%BB%99%E5%AE%9A%E7%9A%84%E6%8F%90%E7%A4%BA%E5%92%8C%E5%8F%AF%E9%80%89%E5%8F%82%E6%95%B0%E5%90%8C%E6%AD%A5%E7%94%9F%E6%88%90%E5%9B%BE%E5%83%8F%E3%80%82%0A%E8%BF%94%E5%9B%9E%E7%9A%84%E5%9B%BE%E5%83%8F+URL+%E5%9C%A8+24+%E5%B0%8F%E6%97%B6%E5%86%85%E6%9C%89%E6%95%88%EF%BC%8C%E8%B6%85%E8%BF%87%E8%AF%A5%E6%97%B6%E9%97%B4%E5%B0%86%E6%97%A0%E6%B3%95%E8%AE%BF%E9%97%AE%E5%9B%BE%E5%83%8F%E3%80%82%0A%E5%9B%BE%E5%83%8FURL%E4%B8%BA%E5%AE%98%E6%96%B9%E5%8E%9F%E9%93%BE%E6%8E%A5%EF%BC%8C%E8%AF%B7%E6%B3%A8%E6%84%8F%E7%BD%91%E7%BB%9C%E7%8E%AF%E5%A2%83%E6%98%AF%E5%90%A6%E8%83%BD%E8%AE%BF%E9%97%AE%E3%80%82\u0026amp;theme=3b26e3f140a7347686f124e1\u0026amp;signature=016ed9f17bc889a3a30ac479bb5245475448c16946ce9f08231387d7554ce7b8\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/maxapi/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MaxAPI Developer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#D81E06\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.maxapi.ai/api-reference/ideogram(绘画)/generate(文生图)\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.maxapi.ai/#organization\",\"name\":\"MaxAPI Developer\",\"url\":\"https://docs.maxapi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/maxapi/xGqiQ3c0WbLf28F3/logo/light.svg?fit=max\u0026auto=format\u0026n=xGqiQ3c0WbLf28F3\u0026q=85\u0026s=3e02d7853f6f2d38be5b5480f468b8ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.maxapi.ai#website\",\"name\":\"MaxAPI Developer\",\"url\":\"https://docs.maxapi.ai\",\"publisher\":{\"@id\":\"https://docs.maxapi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89#webpage\",\"url\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89\",\"name\":\"Generate(文生图)\",\"description\":\"Generates images synchronously based on a given prompt and optional parameters. 根据给定的提示和可选参数同步生成图像。 返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。 图像URL为官方原链接,请注意网络环境是否能访问。\",\"dateModified\":\"2026-08-02T13:57:08.369Z\",\"isPartOf\":{\"@id\":\"https://docs.maxapi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"模型接口\",\"item\":\"https://docs.maxapi.ai/api-reference/%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%8F%A3%E8%81%8A%E5%A4%A9%E6%8E%A5%E5%8F%A3%EF%BC%88chat%EF%BC%89/%E8%81%8A%E5%A4%A9%E8%A1%A5%E5%85%A8\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"图像生成与处理\",\"item\":\"https://docs.maxapi.ai/api-reference/images\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Generate(文生图)\",\"item\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89#apireference\",\"headline\":\"Generate(文生图)\",\"name\":\"Generate(文生图)\",\"description\":\"Generates images synchronously based on a given prompt and optional parameters. 根据给定的提示和可选参数同步生成图像。 返回的图像 URL 在 24 小时内有效,超过该时间将无法访问图像。 图像URL为官方原链接,请注意网络环境是否能访问。\",\"url\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89\",\"mainEntityOfPage\":{\"@id\":\"https://docs.maxapi.ai/api-reference/ideogram%EF%BC%88%E7%BB%98%E7%94%BB%EF%BC%89/generate%EF%BC%88%E6%96%87%E7%94%9F%E5%9B%BE%EF%BC%89#webpage\"},\"dateModified\":\"2026-08-02T13:57:08.369Z\",\"publisher\":{\"@id\":\"https://docs.maxapi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.maxapi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MaxAPI Developer\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MaxAPI Developer","nav":{"global":null,"languages":[{"language":"cn","default":true,"navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"模型与价格"},{"href":"https://api.maxapi.ai","label":"控制台"}],"primary":{"type":"button","label":"获取 API Key","href":"https://api.maxapi.ai"}},"tabs":[{"tab":"文档","icon":"book-open","pages":[{"title":"文档","href":""}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"接口说明","pages":[{"title":"API 目录","mode":"wide","href":"/api-reference/overview"},{"title":"身份认证","href":"/guides/authentication"},{"title":"异步任务","href":"/guides/async-tasks"},{"title":"错误处理","href":"/guides/errors"}]},{"group":"模型接口","pages":[{"group":"文本与向量","icon":"messages","root":{"title":"文本与向量","href":"/api-reference/text"},"expanded":false,"pages":[{"title":"聊天补全","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/completions","href":"/api-reference/模型接口聊天接口(chat)/聊天补全"},{"title":"内容补全接口","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/completions","href":"/api-reference/模型接口自动补全接口(completions)/内容补全接口"},{"title":"创建嵌入","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/embeddings","href":"/api-reference/模型接口向量生成接口(embeddings)/创建嵌入"}]},{"group":"图像生成与处理","icon":"image","root":{"title":"图像生成与处理","href":"/api-reference/images"},"expanded":false,"pages":[{"group":"Google","expanded":false,"pages":[{"title":"Nano-banana 官方格式","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1beta/models/gemini-2.5-flash-image:generateContent","href":"/api-reference/模型接口绘图模型openai-dall-e-格式/nano-banana-官方格式"},{"title":"nano-banana生图异步格式下载图片","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{task_id}/content","href":"/api-reference/模型接口绘图模型banana生图异步格式未来可能兼容其他模型/nano-banana生图异步格式下载图片"}]},{"group":"阿里云","expanded":false,"pages":[{"title":"images/edits","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/edits","href":"/api-reference/模型接口绘图模型z-image/imagesedits"}]},{"group":"快手可灵","expanded":false,"pages":[{"title":"图像生成","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /kling/v1/images/generations","href":"/api-reference/可灵api/图像生成"}]},{"group":"Vidu","expanded":false,"pages":[{"title":"参考生图","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/reference2image","href":"/api-reference/模型接口视频模型vidu官方格式图像生成/参考生图"}]},{"group":"Midjourney","expanded":false,"pages":[{"title":"提交swap_face任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/insight-face/swap","href":"/api-reference/模型接口mj图像视频接口insightface任务提交/提交swap_face任务"},{"title":"执行动作","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/action","href":"/api-reference/模型接口mj图像视频接口任务提交/执行动作"},{"title":"提交Blend任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/blend","href":"/api-reference/模型接口mj图像视频接口任务提交/提交blend任务"},{"title":"提交Describe任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/describe","href":"/api-reference/模型接口mj图像视频接口任务提交/提交describe任务"},{"title":"提交Imagine任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/imagine","href":"/api-reference/模型接口mj图像视频接口任务提交/提交imagine任务"},{"title":"提交Modal","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/modal","href":"/api-reference/模型接口mj图像视频接口任务提交/提交modal"},{"title":"提交Shorten任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/submit/shorten","href":"/api-reference/模型接口mj图像视频接口任务提交/提交shorten任务"},{"title":"查询所有任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /mj/task/list","href":"/api-reference/模型接口mj图像视频接口任务查询/查询所有任务"},{"title":"根据ID列表查询任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/task/list-by-condition","href":"/api-reference/模型接口mj图像视频接口任务查询/根据id列表查询任务"},{"title":"分页查询任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/task/query","href":"/api-reference/模型接口mj图像视频接口任务查询/分页查询任务"},{"title":"查询任务队列","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /mj/task/queue","href":"/api-reference/模型接口mj图像视频接口任务查询/查询任务队列"},{"title":"取消任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj/task/{id}/cancel","href":"/api-reference/模型接口mj图像视频接口任务查询/取消任务"},{"title":"指定ID获取任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /mj/task/{id}/fetch","href":"/api-reference/模型接口mj图像视频接口任务查询/指定id获取任务"},{"title":"获取任务图片的seed(需设置mj或niji的私信ID)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /mj/task/{id}/image-seed","href":"/api-reference/模型接口mj图像视频接口任务查询/获取任务图片的seed(需设置mj或niji的私信id)"},{"title":"查询任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /mj/task/42a28dda-dc7a-4186-ac86-6e16c1fcef17/fetch","href":"/api-reference/模型接口mj图像视频接口mj视频相关/查询任务"}]},{"group":"Stability AI","expanded":false,"pages":[{"title":"Stable Image Ultra","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /sd/v2beta/stable-image/generate/ultra","href":"/api-reference/模型接口sd图像接口sd3/stable-image-ultra"},{"title":"Stable Image Core","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /sd/v2beta/stable-image/generate/core","href":"/api-reference/模型接口sd图像接口sd3/stable-image-core"},{"title":"Stable Diffusion 3","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /sd/v2beta/stable-image/generate/sd3","href":"/api-reference/模型接口sd图像接口sd3/stable-diffusion-3"},{"title":"Text-to-image","description":"Generate an image from a text prompt. \n### Using SDXL 1.0\nUse `stable-diffusion-xl-1024-v1-0` as the `engine_id` of your request and pass in `height` \u0026 `width` as one of the following combinations:\n- 1024x1024\n- 1152x896\n- 896x1152\n- 1216x832\n- 1344x768\n- 768x1344\n- 1536x640\n- 640x1536. \n\n### Using SD 1.6\nPass in `stable-diffusion-v1-6` as the `engine_id` of your request and ensure the `height` \u0026 `width` you pass in adhere to the following restrictions:\n- No dimension can be less than 320 pixels\n- No dimension can be greater than 1536 pixels\n\n### Using SD Beta\nPass in `stable-diffusion-xl-beta-v2-2-2` as the `engine_id` of your request and ensure the `height` \u0026 `width` you pass in adhere to the following restrictions:\n- dimensions must be between 128x128 and 512x896 (or 896x512)\n- only one dimension can be greater than 512, but not both \n\n> NOTE: Only **Version 1** engines will work with this endpoint.","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /sd/v1/generation/{engine_id}/text-to-image","href":"/api-reference/模型接口sd图像接口sdxl/text-to-image"}]},{"group":"Ideogram","expanded":false,"pages":[{"title":"Generate(文生图)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/generate","href":"/api-reference/ideogram(绘画)/generate(文生图)"},{"title":"Remix(混合图)","description":"Remix provided images synchronously based on a given prompt and optional parameters\n根据给定的提示和可选参数,实时提供重新混合的图像","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/remix","href":"/api-reference/ideogram(绘画)/remix(混合图)"},{"title":"Upscale(放大高清)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/upscale","href":"/api-reference/ideogram(绘画)/upscale(放大高清)"},{"title":"Describe(描述)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ideogram/describe","href":"/api-reference/ideogram(绘画)/describe(描述)"}]},{"group":"MewXAI","expanded":false,"pages":[{"title":"生成图片融合示例","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/images/neuralstyle/generate","href":"/api-reference/mewxai星月熊开放api示例/生成图片融合示例"},{"title":"3.艺术字调用 - 使用模版(AI艺术字调用示例)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/images/shadow/generate","href":"/api-reference/mewxai星月熊开放api示例/3艺术字调用--使用模版(ai艺术字调用示例)"},{"title":"计算点数(MX绘画)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/mx/images/computed","href":"/api-reference/mewxai星月熊开放api开放api接口/计算点数(mx绘画)"},{"title":"模型列表(MX绘画-MX)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/mx/images/modelList","href":"/api-reference/mewxai星月熊开放api开放api接口/模型列表(mx绘画-mx)"},{"title":"融合模型列表(MX绘画-MX)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/mx/images/extraList","href":"/api-reference/mewxai星月熊开放api开放api接口/融合模型列表(mx绘画-mx)"},{"title":"生成图片接口(MX绘画-Cute)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/mx/images/cute/generate","href":"/api-reference/mewxai星月熊开放api开放api接口/生成图片接口(mx绘画-cute)"},{"title":"融合模型列表(MX绘画-Cute)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/mx/images/cute/extraList","href":"/api-reference/mewxai星月熊开放api开放api接口/融合模型列表(mx绘画-cute)"},{"title":"回调演示","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/xxx/xxx","href":"/api-reference/mewxai星月熊开放api开放api接口/回调演示"},{"title":"查询详情","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/images/detail","href":"/api-reference/mewxai星月熊开放api开放api接口/查询详情"},{"title":"余额查询","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user/count","href":"/api-reference/mewxai星月熊开放api开放api接口/余额查询"},{"title":"获取模板列表","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/template/list","href":"/api-reference/mewxai星月熊开放api开放api接口/获取模板列表"},{"title":"获取模型列表","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/model/list","href":"/api-reference/mewxai星月熊开放api开放api接口/获取模型列表"},{"title":"反词 - 追加反词(MX绘画-生成类接口-Cute-生成示例(必看))","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/images/cute/generate","href":"/api-reference/mewxai星月熊开放api示例/反词--追加反词(mx绘画-生成类接口-cute-生成示例(必看))"}]},{"group":"佐糖","expanded":false,"pages":[{"title":"创建抠图任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/segmentation","href":"/api-reference/佐糖api/创建抠图任务"},{"title":"获取图片压缩结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/imgcompress/task_id","href":"/api-reference/佐糖api/获取图片压缩结果"},{"title":"获取抠图结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/segmentation/task_id","href":"/api-reference/佐糖api/获取抠图结果"},{"title":"创建图片变清晰任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/scale","href":"/api-reference/佐糖api/创建图片变清晰任务"},{"title":"获取图片变清晰结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/scale/task_id","href":"/api-reference/佐糖api/获取图片变清晰结果"},{"title":"创建图像修复任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/inpaint","href":"/api-reference/佐糖api/创建图像修复任务"},{"title":"获取图像修复结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/inpaint/task_id","href":"/api-reference/佐糖api/获取图像修复结果"},{"title":"创建背景生成任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/r-background","href":"/api-reference/佐糖api/创建背景生成任务"},{"title":"获取背景生成结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/r-background/task_id","href":"/api-reference/佐糖api/获取背景生成结果"},{"title":"创建证件照制作任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/idphoto","href":"/api-reference/佐糖api/创建证件照制作任务"},{"title":"获取证件照制作结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/idphoto/task_id","href":"/api-reference/佐糖api/获取证件照制作结果"},{"title":"创建图像上色任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/colorization","href":"/api-reference/佐糖api/创建图像上色任务"},{"title":"获取黑白图像上色结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/colorization/task_id","href":"/api-reference/佐糖api/获取黑白图像上色结果"},{"title":"创建图片压缩任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/imgcompress","href":"/api-reference/佐糖api/创建图片压缩任务"},{"title":"创建OCR任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/document/ocr","href":"/api-reference/佐糖api/创建ocr任务"},{"title":"获取OCR结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/document/ocr/task_id","href":"/api-reference/佐糖api/获取ocr结果"},{"title":"创建图片智能切边任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/tasks/visual/correction","href":"/api-reference/佐糖api/创建图片智能切边任务"},{"title":"获取图片智能切边结果","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/tasks/visual/correction/task_id","href":"/api-reference/佐糖api/获取图片智能切边结果"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"DALL·E 3","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/images/generations","href":"/api-reference/模型接口图像接口(images)/dall·e-3"}]}]},{"group":"视频生成","icon":"video","root":{"title":"视频生成","href":"/api-reference/video"},"expanded":false,"pages":[{"group":"Google","expanded":false,"pages":[{"title":"视频延长","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /vertex/v1/publishers/google/models/{model}:predictLongRunning","href":"/api-reference/模型接口视频模型谷歌veoaistudio-veo官方格式视频生成/视频延长"},{"title":"查询任务状态","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /vertex/v1/publishers/google/models/{model}:fetchPredictOperation","href":"/api-reference/模型接口视频模型谷歌veovertexai-veo官方格式任务查询/查询任务状态"},{"title":"提交视频生成任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /aistudio/v1beta/models/{model}:predictLongRunning","href":"/api-reference/模型接口视频模型谷歌veoaistudio-veo官方格式视频生成/提交视频生成任务"},{"title":"查询任务状态","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /aistudio/v1beta/models/{model}:fetchPredictOperation","href":"/api-reference/模型接口视频模型谷歌veoaistudio-veo官方格式任务查询/查询任务状态"},{"title":"下载视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /aistudio/v1beta/files/am6emvv7ekgo:download","href":"/api-reference/模型接口视频模型谷歌veoaistudio-veo官方格式下载视频只有aistudio有这个动作/下载视频"},{"title":"提交视频垫图异步任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/video/generations","href":"/api-reference/模型接口视频模型谷歌veogcp异步任务接口/提交视频垫图异步任务"},{"title":"提交视频生成任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /veo/v1/api/video/submit","href":"/api-reference/模型接口视频模型谷歌veo官网逆向接口格式视频生成/提交视频生成任务"},{"title":"查询视频生成状态","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /veo/v1/api/video/status/{taskId}","href":"/api-reference/模型接口视频模型谷歌veo官网逆向接口格式视频生成/查询视频生成状态"},{"title":"查询视频详情","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{id}","href":"/api-reference/模型接口视频模型谷歌veo官网逆向接口格式openai官方视频格式适配-newapi/查询视频详情"},{"title":"下载视频(不推荐该方式,查询视频接口有返回 url的)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{id}/content","href":"/api-reference/模型接口视频模型谷歌veo官网逆向接口格式openai官方视频格式适配-newapi/下载视频不推荐该方式,查询视频接口有返回-url的"},{"title":"Veo图生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v2/videos/generations","href":"/api-reference/模型接口统一视频接口google-veo/veo图生视频"},{"title":"Veo查询任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v2/videos/generations/{task_id}","href":"/api-reference/模型接口统一视频接口google-veo/veo查询任务"}]},{"group":"字节跳动","expanded":false,"pages":[{"title":"创建 图生视频 任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /seedance/api/v3/contents/generations/tasks","href":"/api-reference/模型接口视频模型豆包seedance官方格式/创建-图生视频-任务"},{"title":"查询任务状态 (官方格式)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /seedance/api/v3/contents/generations/tasks/{id}","href":"/api-reference/模型接口视频模型豆包seedance官方格式/查询任务状态-官方格式"}]},{"group":"阿里云","expanded":false,"pages":[{"title":"视频生成 (官方格式)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api-reference/模型接口视频模型wan阿里万象官方格式/视频生成-官方格式"},{"title":"文生视频 (官方格式)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /wan/api/v1/services/aigc/text2video/text-to-video","href":"/api-reference/模型接口视频模型wan阿里万象官方格式/文生视频-官方格式"},{"title":"图生视频 (官方格式)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /wan/api/v1/services/aigc/image2video/image-to-video","href":"/api-reference/模型接口视频模型wan阿里万象官方格式/图生视频-官方格式"},{"title":"查询任务状态 (官方格式)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /wan/api/v1/tasks/{task_id}","href":"/api-reference/模型接口视频模型wan阿里万象官方格式/查询任务状态-官方格式"}]},{"group":"快手可灵","expanded":false,"pages":[{"title":"文生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /kling/v1/videos/text2video","href":"/api-reference/可灵api/文生视频"},{"title":"图生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /kling/v1/videos/image2video","href":"/api-reference/可灵api/图生视频"},{"title":"查询任务(单个)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /kling/v1/{action}/{action2}/{task_id}","href":"/api-reference/可灵api/查询任务(单个)"}]},{"group":"Vidu","expanded":false,"pages":[{"title":"图生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /vidu/ent/v2/img2video","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/图生视频"},{"title":"文生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /vidu/ent/v2/text2video","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/文生视频"},{"title":"参考生视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/reference2video","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/参考生视频"},{"title":"首尾帧生成视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/start-end2video","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/首尾帧生成视频"},{"title":"场景模版","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/template","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/场景模版"},{"title":"模版成片","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/template-story","href":"/api-reference/模型接口视频模型vidu官方格式视频生成/模版成片"},{"title":"推荐提示词","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/img2video-prompt-recommendation","href":"/api-reference/模型接口视频模型vidu官方格式其他功能/推荐提示词"},{"title":"视频延长","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/extend","href":"/api-reference/模型接口视频模型vidu官方格式其他功能/视频延长"},{"title":"智能超清","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/upscale-new","href":"/api-reference/模型接口视频模型vidu官方格式其他功能/智能超清"},{"title":"查询任务状态","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /vidu/ent/v2/tasks/{id}/creations","href":"/api-reference/模型接口视频模型vidu官方格式任务管理/查询任务状态"},{"title":"取消任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/tasks/{id}/cancel","href":"/api-reference/模型接口视频模型vidu官方格式任务管理/取消任务"},{"title":"查询积分余额","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /ent/v2/credits","href":"/api-reference/模型接口视频模型vidu官方格式任务管理/查询积分余额"}]},{"group":"MiniMax","expanded":false,"pages":[{"title":"视频生成 (统一接口)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /hailuo/v1/video_generation","href":"/api-reference/模型接口视频模型minimax-hailuo官方格式视频生成/视频生成-统一接口"},{"title":"查询视频生成任务状态","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /hailuo/v1/query/video_generation","href":"/api-reference/模型接口视频模型minimax-hailuo官方格式任务管理/查询视频生成任务状态"},{"title":"下载视频文件","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /hailuo/v1/files/retrieve","href":"/api-reference/模型接口视频模型minimax-hailuo官方格式任务管理/下载视频文件"}]},{"group":"Midjourney","expanded":false,"pages":[{"title":"Fast视频提交","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj-fast/mj/submit/video","href":"/api-reference/模型接口mj图像视频接口mj视频相关/fast视频提交"},{"title":"Relax视频提交","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /mj-relax/mj/submit/video","href":"/api-reference/模型接口mj图像视频接口mj视频相关/relax视频提交"}]},{"group":"Luma AI","expanded":false,"pages":[{"title":"生成视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /luma-vip/luma/v1/generations","href":"/api-reference/模型接口luma视频接口goamzai格式付费版/生成视频"},{"title":"获取视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /luma-vip/luma/v1/task","href":"/api-reference/模型接口luma视频接口goamzai格式付费版/获取视频"},{"title":"生成视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /luma/v1/generations","href":"/api-reference/模型接口luma视频接口goamzai格式免费版/生成视频"},{"title":"获取视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /luma/v1/task","href":"/api-reference/模型接口luma视频接口goamzai格式免费版/获取视频"},{"title":"提交生成视频任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /luma/v2/generations","href":"/api-reference/模型接口luma视频接口官网原生格式v2/提交生成视频任务"},{"title":"查询单个任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /luma/v2/generations/task_id","href":"/api-reference/模型接口luma视频接口官网原生格式v2/查询单个任务"},{"title":"扩展视频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /luma/v2/generations/task_id/extend","href":"/api-reference/模型接口luma视频接口官网原生格式v2/扩展视频"},{"title":"获取视频无水印链接","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /luma/v2/generations/task_id/download_video_url","href":"/api-reference/模型接口luma视频接口官网原生格式v2/获取视频无水印链接"}]},{"group":"Runway","expanded":false,"pages":[{"title":"创建视频任务","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /runwayml/v1/image_to_video","href":"/api-reference/runway官方api/创建视频任务"},{"title":"Control a character","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /runwayml/v1/character_performance","href":"/api-reference/runway官方api/control-a-character"},{"title":"video_to_video","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /runwayml/v1/video_to_video","href":"/api-reference/runway官方api/video_to_video"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"4.Create Character(通过任务创建角色--可创建真人角色)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos","href":"/api-reference/模型接口视频模型sora-2026-01-07新格式/4create-character通过任务创建角色-可创建真人角色"},{"title":"6.Retrieve Video(获取视频)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /v1/videos/{video_id}","href":"/api-reference/模型接口视频模型sora-2026-01-07新格式/6retrieve-video获取视频"},{"title":"创建角色","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /sora/v1/characters","href":"/api-reference/模型接口视频模型sora-2-官方格式创建角色接口/创建角色"},{"title":"编辑视频(remix)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos/{id}/remix","href":"/api-reference/模型接口视频模型sora-2-官方格式/编辑视频remix"},{"title":"5.Remix Video(编辑视频)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/videos/{video_id}/remix","href":"/api-reference/模型接口视频模型sora-2026-01-07新格式/5remix-video编辑视频"}]}]},{"group":"音频与音乐","icon":"waveform","root":{"title":"音频与音乐","href":"/api-reference/audio-music"},"expanded":false,"pages":[{"group":"Vidu","expanded":false,"pages":[{"title":"文生音频","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/text2audio","href":"/api-reference/模型接口视频模型vidu官方格式音频生成/文生音频"},{"title":"可控文生音效","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/timing2audio","href":"/api-reference/模型接口视频模型vidu官方格式音频生成/可控文生音效"},{"title":"对口型","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ent/v2/lip-sync","href":"/api-reference/模型接口视频模型vidu官方格式其他功能/对口型"}]},{"group":"Suno","expanded":false,"pages":[{"title":"生成音乐","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/v1/music","href":"/api-reference/模型接口suno音乐接口goamzai格式v35/生成音乐"},{"title":"获取音乐","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /suno/v1/music/id","href":"/api-reference/模型接口suno音乐接口goamzai格式v35/获取音乐"},{"title":"生成音乐","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/v1/v3.0/music","href":"/api-reference/模型接口suno音乐接口goamzai格式v30/生成音乐"},{"title":"获取音乐","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /suno/v1/v3.0/music/id","href":"/api-reference/模型接口suno音乐接口goamzai格式v30/获取音乐"},{"title":"音乐链接转成suno(upload)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/v2/uploads/audio","href":"/api-reference/模型接口suno音乐接口官网原生格式v2场景-5-上传自定义音频并续写/音乐链接转成sunoupload"},{"title":"音乐生成(generations)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/v2/generate","href":"/api-reference/模型接口suno音乐接口官网原生格式v2场景-5-上传自定义音频并续写/音乐生成generations"},{"title":"查询任务(feed)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /suno/v2/feed","href":"/api-reference/模型接口suno音乐接口官网原生格式v2场景-5-上传自定义音频并续写/查询任务feed"},{"title":"获取歌词","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /suno/v1/v3.0/lyrics/id","href":"/api-reference/模型接口suno音乐接口生成歌词/获取歌词"},{"title":"生成歌词","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/v1/v3.0/lyrics","href":"/api-reference/模型接口suno音乐接口生成歌词/生成歌词"},{"title":"生成音乐 v5","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/submit/music","href":"/api-reference/模型接口suno音乐接口newapi兼容格式/生成音乐-v5"},{"title":"查询歌曲","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /suno/fetch/{task_id}","href":"/api-reference/模型接口suno音乐接口newapi兼容格式/查询歌曲"},{"title":"上传音乐","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /suno/uploads/audio-url","href":"/api-reference/模型接口suno音乐接口/上传音乐"}]},{"group":"Fish Audio","expanded":false,"pages":[{"title":"tts","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /fish/v1/tts","href":"/api-reference/模型接口fish-audio/tts"},{"title":"asr","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /fish/v1/asr","href":"/api-reference/模型接口fish-audio/asr"}]},{"group":"OpenAI","expanded":false,"pages":[{"title":"创建转录","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/transcriptions","href":"/api-reference/模型接口音频接口(audio)/创建转录"},{"title":"创建翻译","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/translations","href":"/api-reference/模型接口音频接口(audio)/创建翻译"},{"title":"TTS文本转语音","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /v1/audio/speech","href":"/api-reference/模型接口音频接口(audio)/tts文本转语音"}]}]},{"group":"工具与 PPT","icon":"wrench","root":{"title":"工具与 PPT","href":"/api-reference/tools"},"expanded":false,"pages":[{"group":"PPT 服务","expanded":false,"pages":[{"title":"基于当前模板生成(基于当前模版生成)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-create","href":"/api-reference/历史接口ppt类接入/基于当前模板生成基于当前模版生成"},{"title":"获取PPT生成状态和预览页(文件内容解析)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /apps/ppt-result","href":"/api-reference/历史接口ppt类接入/获取ppt生成状态和预览页(文件内容解析)"},{"title":"通过描述生成PPT标题大纲(逐步生成PPT)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-structure","href":"/api-reference/历史接口ppt类接入/通过描述生成ppt标题大纲逐步生成ppt"},{"title":"根据标题生成封面预览图(模版封面图预览)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-cover","href":"/api-reference/历史接口ppt类接入/根据标题生成封面预览图(模版封面图预览)"},{"title":"根据标题以及封面预览信息生成不同主题色的预览(设置主题色)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-recover","href":"/api-reference/历史接口ppt类接入/根据标题以及封面预览信息生成不同主题色的预览(设置主题色)"},{"title":"通过task_id增加PPT单页(PPT中插入单页)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-page","href":"/api-reference/历史接口ppt类接入/通过task_id增加ppt单页(ppt中插入单页)"},{"title":"短文本文件生成PPT(文件内容解析)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-create-file","href":"/api-reference/历史接口ppt类接入/短文本文件生成ppt文件内容解析"},{"title":"通过文件生成PPT(文件内容解析)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-create-thesis","href":"/api-reference/历史接口ppt类接入/通过文件生成ppt(文件内容解析)"},{"title":"更换模版(更换模版)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-create-task","href":"/api-reference/历史接口ppt类接入/更换模版(更换模版)"},{"title":"生成PPT备注(演讲稿备注)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /apps/ppt-note","href":"/api-reference/历史接口ppt类接入/生成ppt备注演讲稿备注"},{"title":"获取PPT下载链接(获取下载链接)","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /apps/ppt-download","href":"/api-reference/历史接口ppt类接入/获取ppt下载链接获取下载链接"},{"title":"创建接口token","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/user/createApiToken","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/创建接口token"},{"title":"生成大纲内容同时异步生成PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/generateContent","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/生成大纲内容同时异步生成ppt"},{"title":"解析文件内容","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/parseFileData","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/解析文件内容"},{"title":"生成大纲","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/generateOutline","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/生成大纲"},{"title":"分页查询 PPT 模板","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/templates","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/分页查询-ppt-模板"},{"title":"随机 PPT 模板","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/randomTemplates","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/随机-ppt-模板"},{"title":"直接生成PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/generatePptx","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/直接生成ppt"},{"title":"直接生成PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/directGeneratePptx","href":"/api-reference/历史接口请求示例/直接生成ppt"},{"title":"获取 PPT 列表","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/listPptx","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/获取-ppt-列表"},{"title":"加载 PPT 数据","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/ppt/loadPptx","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/加载-ppt-数据"},{"title":"下载 PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/downloadPptx","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/下载-ppt"},{"title":"更新 PPT 属性","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/updatePptxAttr","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/更新-ppt-属性"},{"title":"保存 PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/savePptx","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/保存-ppt"},{"title":"删除PPT","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/delete","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/删除ppt"},{"title":"查询异步生成PPT信息","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/ppt/asyncPptInfo","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/查询异步生成ppt信息"},{"title":"ppt转json","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/pptjson/ppt2json","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/ppt转json"},{"title":"json转ppt","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/pptjson/json2ppt","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/json转ppt"},{"title":"更换 PPT 模板","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /api/ppt/updatePptTemplate","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/更换-ppt-模板"},{"title":"修改大纲","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json post /ppt/updateOutline","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/修改大纲"}]},{"group":"其他与兼容接口","expanded":false,"pages":[{"title":"查询API信息","deprecated":false,"version":null,"openapi":"/api-reference/openapi.json get /api/user/apiInfo","href":"/api-reference/历史接口原始接口(参数需要定义后才能发送请求)/查询api信息"}]}]}]}]},{"tab":"场景示例","icon":"lightbulb","pages":[{"title":"场景示例","href":"/usercases"}]}]},{"language":"en","navbar":{"links":[{"href":"https://api.maxapi.ai/modelmak","label":"Models \u0026 pricing"},{"href":"https://api.maxapi.ai","label":"Console"}],"primary":{"type":"button","label":"Get API key","href":"https://api.maxapi.ai"}},"pages":[{"title":"en","href":"/en"}]}]},"title":"Generate(文生图) - MaxAPI Developer","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}