Sau khi tạo tác vụ, hãy lưu ID tác vụ được trả về, rồi dùng lệnh truy vấn tương ứng để lấy trạng thái. Với tác vụ dài, đừng giữ một yêu cầu HTTP duy nhất để chờ.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NewAPIs","description":"NewAPIs API documentation","colors":{"primary":"#6d28d9","light":"#f5f3ff","dark":"#2e1065"},"logo":{"light":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39","dark":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39"},"favicon":{"light":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39","dark":"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39"},"api":{"params":{"expanded":"all"}},"seo":{"metatags":{"canonical":"https://docs.newapi.si"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"cn","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支持"},{"href":"https://www.newapi.si/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/cn/conventions"},{"language":"en","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/en/conventions"},{"language":"zh-Hant","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支援"},{"href":"https://www.newapi.si/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/zh-tw/conventions"},{"language":"fr","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/fr/conventions"},{"language":"ja","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"サポート"},{"href":"https://www.newapi.si/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/ja/conventions"},{"language":"ru","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Поддержка"},{"href":"https://www.newapi.si/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/ru/conventions"},{"language":"vi","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Hỗ trợ"},{"href":"https://www.newapi.si/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://www.newapi.si/dashboard/overview"}},"href":"api-reference/vi/conventions"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kxx","hasAudioNarration":false,"actualSubdomain":"kxx","customDomains":["docs.newapi.si"],"gitSource":{"type":"github","owner":"btcfoxman","repo":"newapi-si-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b11009524fa6e44b829b62f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b111340e71f374a14b7ba2c","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"cn","tag":"API 参考","count":32},{"language":"en","tag":"API Reference","count":32},{"language":"fr","tag":"Référence API","count":32},{"language":"ja","tag":"API リファレンス","count":32},{"language":"ru","tag":"Справочник API","count":32},{"language":"vi","tag":"Tài liệu API","count":32},{"language":"zh-Hant","tag":"API 參考","count":32},{"language":"cn","tag":"开发文档","count":15},{"language":"en","tag":"Guides","count":15},{"language":"fr","tag":"Guides","count":15},{"language":"ja","tag":"ガイド","count":15},{"language":"ru","tag":"Руководства","count":15},{"language":"vi","tag":"Hướng dẫn","count":15},{"language":"zh-Hant","tag":"開發文檔","count":15},{"language":"cn","tag":"Skills","count":7},{"language":"en","tag":"Skills","count":7},{"language":"fr","tag":"Skills","count":7},{"language":"ja","tag":"Skills","count":7},{"language":"ru","tag":"Начало работы","count":7},{"language":"ru","tag":"Skills","count":7},{"language":"vi","tag":"Bắt đầu","count":7},{"language":"vi","tag":"Skills","count":7},{"language":"zh-Hant","tag":"Skills","count":7},{"language":"cn","tag":"集成与工具","count":6},{"language":"en","tag":"Tools","count":6},{"language":"fr","tag":"Outils","count":6},{"language":"ja","tag":"ツール","count":6},{"language":"ru","tag":"Инструменты","count":6},{"language":"vi","tag":"Công cụ","count":6},{"language":"zh-Hant","tag":"整合與工具","count":6},{"language":"cn","tag":"视频生成Vidu格式","count":5},{"language":"en","tag":"Video generation Vidu","count":5},{"language":"fr","tag":"Génération vidéo Vidu","count":5},{"language":"ja","tag":"Video generation Vidu","count":5},{"language":"ru","tag":"Генерация видео Vidu","count":5},{"language":"vi","tag":"Tạo video Vidu","count":5},{"language":"zh-Hant","tag":"影片生成 Vidu 格式","count":5},{"language":"cn","tag":"概览","count":4},{"language":"cn","tag":"视频生成Kling格式","count":4},{"language":"cn","tag":"开发指南","count":4},{"language":"cn","tag":"开始使用","count":4},{"language":"en","tag":"Overview","count":4},{"language":"en","tag":"Video generation Kling format","count":4},{"language":"en","tag":"Developer Guide","count":4},{"language":"en","tag":"Get started","count":4},{"language":"fr","tag":"Aperçu","count":4},{"language":"fr","tag":"Format de génération vidéo Kling","count":4},{"language":"fr","tag":"Guide développeur","count":4},{"language":"fr","tag":"Bien démarrer","count":4},{"language":"ja","tag":"概要","count":4},{"language":"ja","tag":"動画生成Kling形式","count":4},{"language":"ja","tag":"開発ガイド","count":4},{"language":"ja","tag":"はじめに","count":4},{"language":"ru","tag":"Обзор","count":4},{"language":"ru","tag":"ФорматKling генерации видео","count":4},{"language":"ru","tag":"Руководство разработчика","count":4},{"language":"vi","tag":"Tổng quan","count":4},{"language":"vi","tag":"Định dạngKling tạo video","count":4},{"language":"vi","tag":"Hướng dẫn phát triển","count":4},{"language":"zh-Hant","tag":"概覽","count":4},{"language":"zh-Hant","tag":"影片生成Kling格式","count":4},{"language":"zh-Hant","tag":"開發指南","count":4},{"language":"zh-Hant","tag":"開始使用","count":4},{"language":"cn","tag":"视频生成Sora兼容格式","count":3},{"language":"en","tag":"Video generation Sora compatible formats","count":3},{"language":"fr","tag":"Formats compatibles avec la génération de vidéosSora","count":3},{"language":"ja","tag":"動画生成Sora対応形式","count":3},{"language":"ru","tag":"Совместимый формат для Sora генерации видео","count":3},{"language":"vi","tag":"Định dạng tương thích Sora cho tạo video","count":3},{"language":"zh-Hant","tag":"影片生成Sora相容格式","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{font-size:15px}#content-area,#body-content,.mdx-content,.api-section,.request-example,.response-example,#api-playground-input{font-size:0.9rem}.api-section pre,.request-example pre,.response-example pre,code{font-size:0.85em}.api-section h1,.api-section h2,.api-section h3,#page-title{letter-spacing:-0.01em}"}]}
{"page":{"pagePath":"vi/skills/image","slug":"/vi/skills/image","pageMetadata":{"title":"NewAPIs Image","description":"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.","href":"/vi/skills/image"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`newapi-image`}),` mặc định gọi `,_jsx(_components.code,{children:`https://api.newapi.si`}),` và đọc thông tin xác thực từ `,_jsx(_components.code,{children:`NEWAPI_API_KEY`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`các-lệnh-được-hỗ-trợ`,children:`Các lệnh được hỗ trợ`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Lệnh`}),_jsx(_components.th,{children:`API`}),_jsx(_components.th,{children:`Mục đích`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`models`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/models`})}),_jsx(_components.td,{children:`Truy vấn các model khả dụng`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generate`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/images/generations`})}),_jsx(_components.td,{children:`Tạo ảnh`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`edit`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/images/edits`})}),_jsx(_components.td,{children:`Chỉnh sửa ảnh`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`responses-create`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v1/responses`})}),_jsx(_components.td,{children:`Tạo tác vụ ảnh bất đồng bộ`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`responses-get`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v1/responses/{response_id}`})}),_jsx(_components.td,{children:`Truy vấn tác vụ ảnh bất đồng bộ`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`ví-dụ-gọi`,children:`Ví dụ gọi`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/newapi-image.mjs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` models`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/newapi-image.mjs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` generate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` image-request.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/newapi-image.mjs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` edit-request.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/newapi-image.mjs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` responses-create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --json`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` responses-request.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` scripts/newapi-image.mjs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` responses-get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` resp_xxx`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Sau khi tạo tác vụ, hãy lưu ID tác vụ được trả về, rồi dùng lệnh truy vấn tương ứng để lấy trạng thái. Với tác vụ dài, đừng giữ một yêu cầu HTTP duy nhất để chờ.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"NewAPIs Image","description":"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.","href":"/vi/skills/image"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Các lệnh được hỗ trợ","slug":"các-lệnh-được-hỗ-trợ","depth":2,"children":[]},{"title":"Ví dụ gọi","slug":"ví-dụ-gọi","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kxx","siteName":"NewAPIs","title":"NewAPIs Image - NewAPIs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"cn":{"href":"/cn/skills/image","matchLevel":1},"en":{"href":"/en/skills/image","matchLevel":1},"zh-Hant":{"href":"/api-reference/zh-tw/conventions","matchLevel":4},"fr":{"href":"/fr/skills/image","matchLevel":1},"ja":{"href":"/ja/skills/image","matchLevel":1},"ru":{"href":"/ru/skills/image","matchLevel":1},"vi":{"href":"/vi/skills/image","matchLevel":0}}},"lastModified":"2026-12-03T06:59:25.181Z","originalFileLocation":"vi/skills/image.mdx","locale":"vi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NewAPIs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"NewAPIs Image - NewAPIs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NewAPIs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.newapi.si/vi/skills/image\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kxx.mintlify.site/_mintlify/api/og/v2?division=Media+Skills\u0026amp;title=NewAPIs+Image\u0026amp;description=Generate+and+edit+images+with+NewAPIs%2C+including+asynchronous+Responses+API+image+tasks.\u0026amp;theme=4dfd4e267cb656e9f9f9f259\u0026amp;signature=79feb0d3517ed8e0a89f0cc8f5888bdc2719de531d8f6940980cc379b8f44f7b\">\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=\"NewAPIs Image - NewAPIs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kxx.mintlify.site/_mintlify/api/og/v2?division=Media+Skills\u0026amp;title=NewAPIs+Image\u0026amp;description=Generate+and+edit+images+with+NewAPIs%2C+including+asynchronous+Responses+API+image+tasks.\u0026amp;theme=4dfd4e267cb656e9f9f9f259\u0026amp;signature=79feb0d3517ed8e0a89f0cc8f5888bdc2719de531d8f6940980cc379b8f44f7b\">\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/kxx/DXXD4kRXFD8j4qVt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NewAPIs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6d28d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.newapi.si/vi/skills/image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vi/skills/image.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.newapi.si/vi/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.newapi.si/cn/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.newapi.si/en/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.newapi.si/fr/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.newapi.si/ja/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.newapi.si/ru/skills/image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.newapi.si/cn/skills/image\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.newapi.si/#organization\",\"name\":\"NewAPIs\",\"url\":\"https://docs.newapi.si\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kxx/tvEBYKW9jCEn__pG/public/assets/logo.webp?fit=max\u0026auto=format\u0026n=tvEBYKW9jCEn__pG\u0026q=85\u0026s=8d30279d53dca1ddb9765ec06ca39d39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.newapi.si#website\",\"name\":\"NewAPIs\",\"url\":\"https://docs.newapi.si\",\"publisher\":{\"@id\":\"https://docs.newapi.si/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.newapi.si/vi/skills/image#webpage\",\"url\":\"https://docs.newapi.si/vi/skills/image\",\"name\":\"NewAPIs Image\",\"description\":\"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\",\"dateModified\":\"2026-12-03T06:59:25.181Z\",\"isPartOf\":{\"@id\":\"https://docs.newapi.si#website\"},\"breadcrumb\":{\"@id\":\"https://docs.newapi.si/vi/skills/image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.newapi.si/vi/skills/image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"NewAPIs\",\"item\":\"https://docs.newapi.si\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NewAPIs Image\",\"item\":\"https://docs.newapi.si/vi/skills/image\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.newapi.si/vi/skills/image#article\",\"headline\":\"NewAPIs Image\",\"name\":\"NewAPIs Image\",\"description\":\"Generate and edit images with NewAPIs, including asynchronous Responses API image tasks.\",\"url\":\"https://docs.newapi.si/vi/skills/image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.newapi.si/vi/skills/image#webpage\"},\"dateModified\":\"2026-12-03T06:59:25.181Z\",\"publisher\":{\"@id\":\"https://docs.newapi.si/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.newapi.si#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NewAPIs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NewAPIs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/vi/skills/image.md","siteName":"NewAPIs","nav":{"global":null,"languages":[{"language":"cn","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支持"},{"href":"https://www.newapi.si/pricing","label":"价格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"cn","href":"/cn/skills/image"}]},{"language":"en","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Pricing"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"en","href":"/en/skills/image"}]},{"language":"zh-Hant","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"支援"},{"href":"https://www.newapi.si/pricing","label":"價格"}],"primary":{"type":"button","label":"控制台","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"zh-Hant","href":"/api-reference/zh-tw/conventions"}]},{"language":"fr","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Support"},{"href":"https://www.newapi.si/pricing","label":"Tarifs"}],"primary":{"type":"button","label":"Console","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"fr","href":"/fr/skills/image"}]},{"language":"ja","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"サポート"},{"href":"https://www.newapi.si/pricing","label":"料金"}],"primary":{"type":"button","label":"コンソール","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"ja","href":"/ja/skills/image"}]},{"language":"ru","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Поддержка"},{"href":"https://www.newapi.si/pricing","label":"Тарифы"}],"primary":{"type":"button","label":"Консоль","href":"https://www.newapi.si/dashboard/overview"}},"pages":[{"title":"ru","href":"/ru/skills/image"}]},{"language":"vi","footer":{"socials":{}},"navbar":{"links":[{"href":"https://www.newapi.si/about","label":"Hỗ trợ"},{"href":"https://www.newapi.si/pricing","label":"Bảng giá"}],"primary":{"type":"button","label":"Bảng điều khiển","href":"https://www.newapi.si/dashboard/overview"}},"tabs":[{"tab":"Tài liệu API","pages":[{"title":"Tài liệu API","href":"/api-reference/vi/conventions"}]},{"tab":"Skills","groups":[{"group":"Bắt đầu","pages":[{"title":"Skills","href":"/vi/skills/overview"},{"title":"Cài đặt nhanh","href":"/vi/skills/quickstart"},{"title":"Để Agent tự động cài đặt","href":"/vi/skills/agent-install"},{"title":"Hướng dẫn an toàn cho Skills","description":"Các yêu cầu về API Key, nội dung phương tiện và an toàn tác vụ của NewAPIs Skills.","href":"/vi/skills/security"}]},{"group":"Media Skills","pages":[{"title":"NewAPIs Image","href":"/vi/skills/image"},{"title":"NewAPIs Video","description":"Create and query Sora-compatible and Seedance-compatible video generation tasks with NewAPIs.","href":"/vi/skills/video"},{"title":"NewAPIs Music","href":"/vi/skills/music"}]}]},{"tab":"Hướng dẫn","pages":[{"title":"Hướng dẫn","href":"/vi/overview"}]}]}]},"basePath":"","title":"NewAPIs Image - NewAPIs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}