low / medium / high / xhigh / max / auto. 다른 값은 제출 시 HTTP 400을 반환합니다. 생략하거나 auto로 지정하면 모델이 품질 단계를 자동으로 선택합니다. 선택된 단계는 달라질 수 있으며 low로 고정되지 않습니다. 고정된 단계가 필요하면 명시적으로 지정하세요.생략하거나 auto로 지정하면 max 단계 기준으로 비용을 사전 확보하고, 실제 선택된 품질 단계에 따라 최종 정산합니다.
부분 편집 마스크이며 image_urls가 필요합니다. 첫 이미지와 크기가 같은 알파 채널 PNG를 사용하며 완전히 투명한 영역이 편집 대상입니다. 이미지 URL 또는 PNG Data URL을 지원합니다. 마크업과 함께 사용할 수 없으며 마스크 밖 픽셀의 완전한 보존은 보장하지 않습니다.
계획 강도: low / medium / high. 업스트림 기본값은 high이며 렌더링 quality와 독립적입니다. 국소 수정에는 low, 많은 텍스트·복잡한 배치·객체 관계에는 high가 적합하지만 느려지거나 추가 변경이 생길 수 있습니다. 별도 요금은 없으며 2.6만 지원합니다.
정확한 픽셀 크기는 가로·세로 모두 16의 배수, 각 변 최대 3840, 긴 변과 짧은 변의 비율 최대 3:1, 전체 픽셀 655,360–8,294,400이어야 합니다. 2560×1440을 초과하는 해상도는 실험적입니다. 아래 매핑은 GPT-Image-2.5와 같으며 이 정지 이미지 제한을 GIF 개별 프레임에 직접 적용하지 마세요.
다음 요청은 첫 이미지를 부분 편집합니다. mask_url을 생략하면 프롬프트에 따라 전체 이미지를 편집하고, size를 생략하면 첫 이미지 비율과 resolution으로 출력 크기를 선택합니다. 예제 URL은 접근 가능한 실제 이미지로 교체하세요.
{ "model": "gpt-image-2.6-sunburst", "prompt": "Replace the fully transparent masked area with a gold ribbon. Preserve the product and the rest of the background.", "image_urls": [ "https://example.com/product.png" ], "mask_url": "https://example.com/product-mask.png", "resolution": "2k", "quality": "high", "complexity": "low"}
markup_url에 HTTPS 또는 Base64 Data URL을 전달합니다. 별칭 markup은 문자열이나 {"image_url":"..."} 객체를 받습니다. file_id는 지원하지 않습니다.
image_urls가 필수입니다. 마크업은 첫 이미지에 적용되고 나머지는 참조로 사용됩니다.
첫 이미지와 정확히 같은 크기의 별도 투명 PNG 레이어를 사용하세요. 원본에 표시를 합성하지 마세요.
첫 이미지와 레이어는 각각 최대 16,777,216픽셀이며 레이어 파일은 최대 50 MB입니다.
mask_url과 함께 사용할 수 없습니다. 레이어에는 이미지 토큰이 부과되지 않지만 추가 텍스트 토큰이 발생할 수 있습니다.
{ "model": "gpt-image-2.6-flare", "prompt": "Recolor the striped vase inside the red circle to solid cobalt blue ceramic. Keep everything else unchanged. Remove the red circle.", "image_urls": [ "https://example.com/kitchen.webp" ], "markup_url": "https://example.com/vase-circle-overlay.png", "quality": "medium"}
output_format: "gif"로 설정합니다. 텍스트 기반 생성만 지원하므로 image_urls, mask_url, markup_url, markup, output_compression을 전달하지 마세요.
매개변수
기본값
설명
frame_count
9
정수 2–16. APIMart의 현재 상한은 16이며 업스트림 가이드의 64프레임 제한은 적용되지 않습니다.
frame_duration_ms
200
프레임별 표시 시간, 정수 밀리초. 최소 20이며 10 ms 단위로 반올림됩니다.
size
auto
각 프레임의 픽셀 크기이며 가로·세로는 16의 배수입니다. 생략 또는 auto는 현재 512×512입니다. 1:1 같은 비율 이름은 지원하지 않습니다.
업스트림은 프레임을 시트에 배치합니다. 2–8프레임은 4×2, 9프레임은 3×3, 10–12프레임은 4×3, 13–16프레임은 4×4입니다. 정사각형에 가깝게 행과 열을 바꿀 수 있습니다. 전체 시트의 각 변은 최대 3840, 총 픽셀은 최대 8,294,400, 긴 변과 짧은 변의 비율은 최대 3:1이어야 하며 초과 시 제출 단계에서 400을 반환합니다.
512x512는 2–16프레임 모두, 768x768는 최대 12프레임을 지원합니다. 1024x1024는 2프레임만으로도 시트 변 길이 상한을 초과합니다. 각 애니메이션의 전체 시트를 기준으로 과금하며 n > 1이면 여러 애니메이션을 생성하고 각각 과금합니다.
{ "model": "gpt-image-2.6-sunburst", "prompt": "A paper lantern swaying gently in the night breeze, seamless loop", "output_format": "gif", "frame_count": 9, "frame_duration_ms": 200, "quality": "low"}
완료되면 data.result.images[].url[]에서 파일 URL을 읽어 바로 저장하세요. 아래 예시는 주요 필드만 표시합니다. failed일 때는 data.error.message를 확인하세요. 여러 작업은 POST /v1/tasks/batch로 일괄 조회할 수 있습니다.
stream, partial_images, input_fidelity, prompt_rewriter, response_format을 전달하지 마세요. 이 API는 비동기 작업과 CDN URL을 반환하며 부분 이미지 스트리밍이나 Base64 이미지 응답은 제공하지 않습니다. frame_count / frame_duration_ms는 GIF 전용, svg 설정은 SVG 전용입니다.Flare와 Sunburst의 과금 기준은 같습니다. 2.6의 low / medium은 2.5보다 토큰을 많이 사용하므로 기존 비용 추정을 그대로 적용하지 마세요. 최신 요금은 APIMart 가격 페이지 또는 /api/pricing을 참고하세요. 이 페이지에는 고정 가격을 기재하지 않습니다.업스트림 기능 설명은 OpenAI 이미지 생성 가이드를 참고하세요. APIMart 호출 시 엔드포인트, 비동기 응답, 매개변수 제한은 이 페이지를 따릅니다.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIMart","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1D4ED8"},"favicon":"https://mintcdn.com/apicore/1GnRrmOhqkTFCvFb/logo/logo.png?fit=max\u0026auto=format\u0026n=1GnRrmOhqkTFCvFb\u0026q=85\u0026s=609be15c3f1f4e4b765c5945c2871ae9","navbar":{"links":[{"icon":"x-twitter","href":"https://x.com/APIMart_","label":""},{"icon":"discord","href":"https://discord.gg/V8zqssyZ5c","label":""},{"icon":"weixin","href":"https://cdn.apimart.ai/social-media/wechat.jpg","label":""}],"primary":{"type":"button","label":"Dashboard","href":"https://apimart.ai"}},"footer":{"socials":{"x":"https://x.com/APIMart_","website":"https://apimart.ai","discord":"https://discord.gg/V8zqssyZ5c"}},"seo":{"metatags":{"og:site_name":"APIMart","og:type":"website","keywords":"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA","twitter:card":"summary_large_image","twitter:site":"@APIMart_","twitter:creator":"@APIMart_"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en"},{"language":"zh-Hans","href":"cn"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"pt","href":"pt"},{"language":"id","href":"id"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apicore","hasAudioNarration":false,"actualSubdomain":"apicore","customDomains":["docs.apimart.ai"],"gitSource":{"type":"github","owner":"apimart-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae1c97b1297abb2484bbfc0"},"chroma":{"liveDeploymentHistoryId":"6aec23a95bde63e7c249e7ca","collectionId":"c8629b3a-8001-4790-84f4-5a16bc12181a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec23a95bde63e7c249e7ca"},"entitlements":{},"buildId":"6aec23a95bde63e7c249e7ca","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"zh-Hans","tag":"API 手册","count":164},{"language":"de","tag":"API-Handbuch","count":164},{"language":"en","tag":"API Manual","count":164},{"language":"es","tag":"Manual de la API","count":164},{"language":"fr","tag":"Manuel API","count":164},{"language":"id","tag":"Panduan API","count":164},{"language":"ja","tag":"APIマニュアル","count":164},{"language":"ko","tag":"API 매뉴얼","count":164},{"language":"pt","tag":"Manual da API","count":164},{"language":"ru","tag":"Руководство API","count":164},{"language":"zh-Hans","tag":"音频系列","count":51},{"language":"zh-Hans","tag":"图像系列","count":51},{"language":"de","tag":"Audioserie","count":51},{"language":"de","tag":"Bildserie","count":51},{"language":"en","tag":"Audio Series","count":51},{"language":"en","tag":"Image Series","count":51},{"language":"es","tag":"Serie de audio","count":51},{"language":"es","tag":"Serie de imágenes","count":51},{"language":"fr","tag":"Série Audio","count":51},{"language":"fr","tag":"Série Image","count":51},{"language":"id","tag":"Seri Audio","count":51},{"language":"id","tag":"Seri Gambar","count":51},{"language":"ja","tag":"オーディオシリーズ","count":51},{"language":"ja","tag":"画像シリーズ","count":51},{"language":"ko","tag":"오디오 시리즈","count":51},{"language":"ko","tag":"이미지 시리즈","count":51},{"language":"pt","tag":"Série de Áudio","count":51},{"language":"pt","tag":"Série de Imagem","count":51},{"language":"ru","tag":"Аудиосерия","count":51},{"language":"ru","tag":"Серия изображений","count":51},{"language":"zh-Hans","tag":"视频系列","count":43},{"language":"de","tag":"Videoserie","count":43},{"language":"en","tag":"Video Series","count":43},{"language":"es","tag":"Serie de video","count":43},{"language":"fr","tag":"Série Vidéo","count":43},{"language":"id","tag":"Seri Video","count":43},{"language":"ja","tag":"動画シリーズ","count":43},{"language":"ko","tag":"비디오 시리즈","count":43},{"language":"pt","tag":"Série de Vídeo","count":43},{"language":"ru","tag":"Видеосерия","count":43},{"language":"zh-Hans","tag":"Suno","count":35},{"language":"de","tag":"Suno","count":35},{"language":"en","tag":"Suno","count":35},{"language":"es","tag":"Suno","count":35},{"language":"fr","tag":"Suno","count":35},{"language":"id","tag":"Suno","count":35},{"language":"ja","tag":"Suno","count":35},{"language":"ko","tag":"Suno","count":35},{"language":"pt","tag":"Suno","count":35},{"language":"ru","tag":"Suno","count":35},{"language":"zh-Hans","tag":"Midjourney","count":19},{"language":"de","tag":"Midjourney","count":19},{"language":"en","tag":"Midjourney","count":19},{"language":"es","tag":"Midjourney","count":19},{"language":"fr","tag":"Midjourney","count":19},{"language":"id","tag":"Midjourney","count":19},{"language":"ja","tag":"Midjourney","count":19},{"language":"ko","tag":"Midjourney","count":19},{"language":"pt","tag":"Midjourney","count":19},{"language":"ru","tag":"Midjourney","count":19},{"language":"zh-Hans","tag":"Flow Music","count":14},{"language":"de","tag":"Flow Music","count":14},{"language":"en","tag":"Flow Music","count":14},{"language":"es","tag":"Flow Music","count":14},{"language":"fr","tag":"Flow Music","count":14},{"language":"id","tag":"Flow Music","count":14},{"language":"ja","tag":"Flow Music","count":14},{"language":"ko","tag":"Flow Music","count":14},{"language":"pt","tag":"Flow Music","count":14},{"language":"ru","tag":"Flow Music","count":14},{"language":"ja","tag":"よくある質問","count":12},{"language":"ko","tag":"자주 묻는 질문","count":12},{"language":"zh-Hans","tag":"集成指南","count":11},{"language":"de","tag":"Integrationen","count":11},{"language":"en","tag":"Integrations","count":11},{"language":"es","tag":"Integraciones","count":11},{"language":"fr","tag":"Intégrations","count":11},{"language":"id","tag":"Integrasi","count":11},{"language":"ja","tag":"統合ガイド","count":11},{"language":"ko","tag":"통합 가이드","count":11},{"language":"pt","tag":"Integrações","count":11},{"language":"ru","tag":"Интеграции","count":11},{"language":"zh-Hans","tag":"文字系列","count":10},{"language":"de","tag":"Textserie","count":10},{"language":"en","tag":"Text Series","count":10},{"language":"es","tag":"Serie de texto","count":10},{"language":"fr","tag":"Série Texte","count":10},{"language":"id","tag":"Seri Teks","count":10},{"language":"ja","tag":"テキストシリーズ","count":10},{"language":"ko","tag":"텍스트 시리즈","count":10},{"language":"pt","tag":"Série de Texto","count":10},{"language":"ru","tag":"Текстовая серия","count":10},{"language":"zh-Hans","tag":"概览","count":7},{"language":"de","tag":"Übersicht","count":7},{"language":"en","tag":"Overview","count":7},{"language":"es","tag":"Visión general","count":7},{"language":"fr","tag":"Aperçu","count":7},{"language":"id","tag":"Ikhtisar","count":7},{"language":"pt","tag":"Visão Geral","count":7},{"language":"ru","tag":"Обзор","count":7}]},"assistantConfig":{},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[id^=\"param-\"] a[href^=\"#param-\"]{display:none}[id^=\"param-\"] button[data-component-part=\"field-name\"]{display:inline-flex;align-items:center;gap:6px;margin:-2px -4px;padding:2px 4px;border-radius:6px;cursor:copy;user-select:text;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover{background:rgb(37 99 235 / 8%)}[id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(100 116 139);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover::after{background-color:rgb(37 99 235)}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"copied\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(5 150 105);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"failed\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(220 38 38);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat}html.dark [id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{background-color:rgb(203 213 225)}"}],"page":{"pagePath":"ko/api-reference/images/gpt-image-2.6/generation","slug":"/ko/api-reference/images/gpt-image-2.6/generation","pageMetadata":{"title":"GPT-Image-2.6 이미지 생성","description":"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.6/generation"},"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: \"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`텍스트 기반 생성, 이미지 편집, GIF, SVG 모두 `,_jsx(_components.code,{children:`POST /v1/images/generations`}),`를 사용합니다. 제출 응답에서 `,_jsx(_components.code,{children:`data[0].task_id`}),`를 읽고 작업을 조회해 파일 URL을 받습니다.`]}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`인증`,children:`인증`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Bearer Token 인증을 사용합니다. `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`API 키 관리 페이지`}),`에서 키를 발급받으세요.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`모델-선택`,children:`모델 선택`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`모델`}),_jsx(_components.th,{children:`용도`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-flare`})}),_jsx(_components.td,{children:`속도를 우선하는 빠른 반복 작업에 적합하며 기본 선택으로 권장합니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-sunburst`})}),_jsxs(_components.td,{children:[`세부 묘사와 편집 일관성을 우선하며, 특히 `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` 품질의 반복 편집에 적합합니다.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`두 모델은 동일한 설정에서 토큰 단가와 사용량이 같습니다. 속도와 세부 묘사 요구에 따라 선택하세요.`}),`\n`,_jsx(Heading,{level:`2`,id:`요청-매개변수`,children:`요청 매개변수`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`모델 이름: `,_jsx(_components.code,{children:`gpt-image-2.6-flare`}),` 또는 `,_jsx(_components.code,{children:`gpt-image-2.6-sunburst`}),`.`]})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`생성 또는 편집 지침으로 최대 32,000자입니다. 대상, 구도, 변경하거나 유지할 내용을 설명하세요.`})}),`\n`,_jsx(ParamField,{body:`size`,type:`string`,default:`auto`,id:`param-size`,children:_jsxs(_components.p,{children:[`정지 이미지와 SVG는 15가지 비율, `,_jsx(_components.code,{children:`1600x1200`}),` 같은 픽셀 크기, `,_jsx(_components.code,{children:`auto`}),`를 지원합니다. 명시적 `,_jsx(_components.code,{children:`auto`}),`는 업스트림이 결정합니다. 편집 시 생략하면 첫 입력 이미지의 비율과 `,_jsx(_components.code,{children:`resolution`}),`으로 크기를 선택합니다. GIF는 아래 별도 규칙을 따릅니다.`]})}),`\n`,_jsx(ParamField,{body:`resolution`,type:`string`,default:`1k`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`소문자 `,_jsx(_components.code,{children:`1k`}),` / `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`}),`. 비율 형식의 `,_jsx(_components.code,{children:`size`}),`와 함께 픽셀 크기를 결정하며, 정확한 픽셀 크기 지정 시 무시됩니다.`]})}),`\n`,_jsxs(ParamField,{body:`quality`,type:`string`,default:`auto`,id:`param-quality`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),` / `,_jsx(_components.code,{children:`auto`}),`. 다른 값은 제출 시 HTTP 400을 반환합니다. 생략하거나 `,_jsx(_components.code,{children:`auto`}),`로 지정하면 모델이 품질 단계를 자동으로 선택합니다. 선택된 단계는 달라질 수 있으며 `,_jsx(_components.code,{children:`low`}),`로 고정되지 않습니다. 고정된 단계가 필요하면 명시적으로 지정하세요.`]}),_jsxs(_components.p,{children:[`생략하거나 `,_jsx(_components.code,{children:`auto`}),`로 지정하면 `,_jsx(_components.code,{children:`max`}),` 단계 기준으로 비용을 사전 확보하고, 실제 선택된 품질 단계에 따라 최종 정산합니다.`]})]}),`\n`,_jsx(ParamField,{body:`n`,type:`integer`,default:`1`,id:`param-n`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`1`}),`–`,_jsx(_components.code,{children:`4`}),` 사이의 정수. GIF에서는 애니메이션 수를 뜻합니다. SVG는 `,_jsx(_components.code,{children:`1`}),`만 지원합니다. 명시적인 `,_jsx(_components.code,{children:`0`}),`, 음수 또는 `,_jsx(_components.code,{children:`4`}),`보다 큰 값은 기본값으로 대체되지 않고 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`output_format`,type:`string`,default:`png`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`jpeg`}),` / `,_jsx(_components.code,{children:`webp`}),` / `,_jsx(_components.code,{children:`gif`}),` / `,_jsx(_components.code,{children:`svg`}),`. GIF와 SVG는 텍스트 기반 생성만 지원합니다. 다른 값은 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`output_compression`,type:`integer`,id:`param-output-compression`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`100`}),` 사이의 정수이며 `,_jsx(_components.code,{children:`jpeg`}),` / `,_jsx(_components.code,{children:`webp`}),`만 지원합니다. 범위를 벗어나거나 `,_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`gif`}),` / `,_jsx(_components.code,{children:`svg`}),`와 함께 사용하면 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`background`,type:`string`,id:`param-background`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`transparent`}),` / `,_jsx(_components.code,{children:`opaque`}),` / `,_jsx(_components.code,{children:`auto`}),`. 생략하면 업스트림 기본값을 사용합니다. 명시적인 `,_jsx(_components.code,{children:`transparent`}),`는 `,_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`webp`}),`만 지원합니다. SVG는 기본 배경이 투명하므로 이 필드를 생략하세요.`]})}),`\n`,_jsx(ParamField,{body:`moderation`,type:`string`,default:`low`,id:`param-moderation`,children:_jsxs(_components.p,{children:[`콘텐츠 검토 수준: `,_jsx(_components.code,{children:`auto`}),` / `,_jsx(_components.code,{children:`low`}),`. 다른 값은 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[`최대 16장의 참조 이미지이며 지정하면 편집 모드가 됩니다. 공개 접근 가능한 HTTP(S) 이미지 URL을 사용하세요. 로컬 파일은 `,_jsx(_components.a,{href:`/ko/api-reference/uploads/images`,children:`이미지 업로드 API`}),`에 먼저 업로드한 뒤 반환된 `,_jsx(_components.code,{children:`url`}),`을 전달합니다.`]})}),`\n`,_jsx(ParamField,{body:`mask_url`,type:`string`,id:`param-mask-url`,children:_jsxs(_components.p,{children:[`부분 편집 마스크이며 `,_jsx(_components.code,{children:`image_urls`}),`가 필요합니다. 첫 이미지와 크기가 같은 알파 채널 PNG를 사용하며 완전히 투명한 영역이 편집 대상입니다. 이미지 URL 또는 PNG Data URL을 지원합니다. 마크업과 함께 사용할 수 없으며 마스크 밖 픽셀의 완전한 보존은 보장하지 않습니다.`]})}),`\n`,_jsx(ParamField,{body:`complexity`,type:`string`,id:`param-complexity`,children:_jsxs(_components.p,{children:[`계획 강도: `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),`. 업스트림 기본값은 `,_jsx(_components.code,{children:`high`}),`이며 렌더링 `,_jsx(_components.code,{children:`quality`}),`와 독립적입니다. 국소 수정에는 `,_jsx(_components.code,{children:`low`}),`, 많은 텍스트·복잡한 배치·객체 관계에는 `,_jsx(_components.code,{children:`high`}),`가 적합하지만 느려지거나 추가 변경이 생길 수 있습니다. 별도 요금은 없으며 2.6만 지원합니다.`]})}),`\n`,_jsx(ParamField,{body:`safety_identifier`,type:`string`,id:`param-safety-identifier`,children:_jsx(_components.p,{children:`선택 사항인 안정적인 최종 사용자 식별자, 최대 128자. 사용자명이나 이메일의 해시를 권장합니다. APIMart는 기본적으로 업스트림에 전달하지 않으며 채널이 허용할 때만 전달합니다. 생략해도 사용에 영향이 없습니다.`})}),`\n`,_jsx(Heading,{level:`2`,id:`정지-이미지-및-svg-크기`,children:`정지 이미지 및 SVG 크기`}),`\n`,_jsx(_components.p,{children:`정확한 픽셀 크기는 가로·세로 모두 16의 배수, 각 변 최대 3840, 긴 변과 짧은 변의 비율 최대 3:1, 전체 픽셀 655,360–8,294,400이어야 합니다. 2560×1440을 초과하는 해상도는 실험적입니다. 아래 매핑은 GPT-Image-2.5와 같으며 이 정지 이미지 제한을 GIF 개별 프레임에 직접 적용하지 마세요.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`1k`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`2k`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`4k`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2880×2880`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:2`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1360`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3520×2336`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1360×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2336×3520`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×768`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3312×2480`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`768×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2480×3312`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5:4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1280×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2560×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3216×2576`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4:5`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1280`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×2560`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2576×3216`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`16:9`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×864`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1152`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×2160`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9:16`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`864×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1152×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2160×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2688×1344`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1920`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:2`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1344×2688`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1920×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`21:9`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2016×864`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2688×1152`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1648`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9:21`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`864×2016`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1152×2688`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1648×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×512`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3072×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1280`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`512×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×3072`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1280×3840`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`이미지-편집과-마스크`,children:`이미지 편집과 마스크`}),`\n`,_jsxs(_components.p,{children:[`다음 요청은 첫 이미지를 부분 편집합니다. `,_jsx(_components.code,{children:`mask_url`}),`을 생략하면 프롬프트에 따라 전체 이미지를 편집하고, `,_jsx(_components.code,{children:`size`}),`를 생략하면 첫 이미지 비율과 `,_jsx(_components.code,{children:`resolution`}),`으로 출력 크기를 선택합니다. 예제 URL은 접근 가능한 실제 이미지로 교체하세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-sunburst\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Replace the fully transparent masked area with a gold ribbon. Preserve the product and the rest of the background.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/product.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mask_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/product-mask.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"complexity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`마크업-기반-편집`,children:`마크업 기반 편집`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`markup_url`}),`에 HTTPS 또는 Base64 Data URL을 전달합니다. 별칭 `,_jsx(_components.code,{children:`markup`}),`은 문자열이나 `,_jsx(_components.code,{children:`{\"image_url\":\"...\"}`}),` 객체를 받습니다. `,_jsx(_components.code,{children:`file_id`}),`는 지원하지 않습니다.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image_urls`}),`가 필수입니다. 마크업은 첫 이미지에 적용되고 나머지는 참조로 사용됩니다.`]}),`\n`,_jsx(_components.li,{children:`첫 이미지와 정확히 같은 크기의 별도 투명 PNG 레이어를 사용하세요. 원본에 표시를 합성하지 마세요.`}),`\n`,_jsx(_components.li,{children:`첫 이미지와 레이어는 각각 최대 16,777,216픽셀이며 레이어 파일은 최대 50 MB입니다.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mask_url`}),`과 함께 사용할 수 없습니다. 레이어에는 이미지 토큰이 부과되지 않지만 추가 텍스트 토큰이 발생할 수 있습니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Recolor the striped vase inside the red circle to solid cobalt blue ceramic. Keep everything else unchanged. Remove the red circle.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/kitchen.webp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"markup_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/vase-circle-overlay.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`gif-애니메이션`,children:`GIF 애니메이션`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`output_format: \"gif\"`}),`로 설정합니다. 텍스트 기반 생성만 지원하므로 `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`mask_url`}),`, `,_jsx(_components.code,{children:`markup_url`}),`, `,_jsx(_components.code,{children:`markup`}),`, `,_jsx(_components.code,{children:`output_compression`}),`을 전달하지 마세요.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`매개변수`}),_jsx(_components.th,{children:`기본값`}),_jsx(_components.th,{children:`설명`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_count`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9`})}),_jsxs(_components.td,{children:[`정수 `,_jsx(_components.strong,{children:`2–16`}),`. APIMart의 현재 상한은 16이며 업스트림 가이드의 64프레임 제한은 적용되지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_duration_ms`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`프레임별 표시 시간, 정수 밀리초. 최소 20이며 10 ms 단위로 반올림됩니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`auto`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`각 프레임`}),`의 픽셀 크기이며 가로·세로는 16의 배수입니다. 생략 또는 `,_jsx(_components.code,{children:`auto`}),`는 현재 512×512입니다. `,_jsx(_components.code,{children:`1:1`}),` 같은 비율 이름은 지원하지 않습니다.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`업스트림은 프레임을 시트에 배치합니다. 2–8프레임은 4×2, 9프레임은 3×3, 10–12프레임은 4×3, 13–16프레임은 4×4입니다. 정사각형에 가깝게 행과 열을 바꿀 수 있습니다. 전체 시트의 각 변은 최대 3840, 총 픽셀은 최대 8,294,400, 긴 변과 짧은 변의 비율은 최대 3:1이어야 하며 초과 시 제출 단계에서 400을 반환합니다.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`512x512`}),`는 2–16프레임 모두, `,_jsx(_components.code,{children:`768x768`}),`는 최대 12프레임을 지원합니다. `,_jsx(_components.code,{children:`1024x1024`}),`는 2프레임만으로도 시트 변 길이 상한을 초과합니다. 각 애니메이션의 전체 시트를 기준으로 과금하며 `,_jsx(_components.code,{children:`n > 1`}),`이면 여러 애니메이션을 생성하고 각각 과금합니다.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-sunburst\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A paper lantern swaying gently in the night breeze, seamless loop\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gif\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"frame_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"frame_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`svg-출력`,children:`SVG 출력`}),`\n`,_jsxs(ParamField,{body:`svg`,type:`object`,id:`param-svg`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`output_format: \"svg\"`}),`로 설정합니다. 이미지 모델이 참조 이미지를 생성한 다음 `,_jsx(_components.code,{children:`svg.model`}),`의 텍스트 모델이 SVG를 작성합니다.`]}),_jsxs(Expandable,{title:`svg`,children:[_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-1`,children:_jsxs(_components.p,{children:[`필수. `,_jsx(_components.code,{children:`gpt-5.4-mini`}),`, `,_jsx(_components.code,{children:`gpt-5.6-sol`}),` 등 플랫폼에 텍스트 토큰 요금이 있는 모델을 선택하세요.`]})}),_jsx(ParamField,{body:`reasoning`,type:`object`,id:`param-reasoning`,children:_jsx(Expandable,{title:`reasoning`,children:_jsx(ParamField,{body:`effort`,type:`string`,id:`param-effort`,children:_jsxs(_components.p,{children:[`선택 사항: `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`minimal`}),` / `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),`. 지원 값은 텍스트 모델마다 다릅니다. 생략해 모델 기본값을 사용하는 것을 권장합니다.`]})})})})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`텍스트 기반 생성만 지원하며 `,_jsx(_components.code,{children:`n`}),`은 1이어야 합니다. 참조 이미지, 마스크, 마크업, `,_jsx(_components.code,{children:`output_compression`}),`은 사용할 수 없습니다.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`quality`}),`와 `,_jsx(_components.code,{children:`complexity`}),`는 중간 참조 이미지에 적용됩니다. 결과는 스크립트, 외부 리소스, 내장 비트맵이 없는 정적 `,_jsx(_components.code,{children:`.svg`}),`입니다.`]}),`\n`,_jsxs(_components.li,{children:[`이미지 생성 비용 외에 `,_jsx(_components.code,{children:`svg.model`}),`의 텍스트 사용량이 추가 과금됩니다. 이미지당 고정 요금 계약 계정은 현재 SVG를 지원하지 않아 제출 시 400을 반환합니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A minimalist bakery logo with a wheat stalk, flat colors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"svg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"svg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-5.4-mini\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1:1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"n\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`작업-결과-조회`,children:`작업 결과 조회`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/ko/api-reference/tasks/status`,children:`작업 조회 API`}),`를 2–5초마다 호출해 `,_jsx(_components.code,{children:`completed`}),` 또는 `,_jsx(_components.code,{children:`failed`}),`까지 확인하세요. 대기 중 생성 요청을 반복 제출하지 마세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.apimart.ai/v1/tasks/task_01KXXXXXXXXXXXXXXX`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`완료되면 `,_jsx(_components.code,{children:`data.result.images[].url[]`}),`에서 파일 URL을 읽어 바로 저장하세요. 아래 예시는 주요 필드만 표시합니다. `,_jsx(_components.code,{children:`failed`}),`일 때는 `,_jsx(_components.code,{children:`data.error.message`}),`를 확인하세요. 여러 작업은 `,_jsx(_components.code,{children:`POST /v1/tasks/batch`}),`로 일괄 조회할 수 있습니다.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KXXXXXXXXXXXXXXX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://upload.apimart.ai/f/image/example.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`svg-사용량과-응답-예제`,children:`SVG 사용량과 응답 예제`}),`\n`,_jsxs(_components.p,{children:[`작업 조회 응답의 `,_jsx(_components.code,{children:`data.usage.svg_usage`}),`는 SVG를 작성하는 텍스트 모델의 사용량입니다. `,_jsx(_components.code,{children:`data.usage`}),`의 나머지 토큰 필드는 참조 이미지를 생성하는 이미지 모델의 사용량입니다. 각 부분을 해당 모델의 과금 규칙에 따라 별도로 집계하세요.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`필드`}),_jsx(_components.th,{children:`유형`}),_jsx(_components.th,{children:`설명`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`SVG 작성에 실제 사용된 텍스트 모델.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`텍스트 모델의 입력 토큰 수.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`텍스트 모델의 출력 토큰 수로, 추론 토큰이 포함됩니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reasoning_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`출력 토큰 중 추론에 사용된 부분입니다. `,_jsx(_components.code,{children:`output_tokens`}),`에 다시 더하지 마세요.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`다음은 SVG 작업 응답의 주요 필드입니다. 토큰 수는 필드 관계를 설명하기 위한 예시이며 고정 사용량을 뜻하지 않습니다.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KXXXXXXXXXXXXXXX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://upload.apimart.ai/f/image/example.svg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1800`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1840`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"svg_usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-5.4-mini\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`800`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reasoning_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`자주-발생하는-매개변수-오류`,children:`자주 발생하는 매개변수 오류`}),`\n`,_jsx(_components.p,{children:`다음 매개변수 검증 오류는 제출 시 동기적으로 HTTP 400을 반환합니다. 작업이 생성되지 않고 요금도 부과되지 않습니다. 매개변수를 수정한 뒤 다시 제출하세요.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`오류`}),_jsx(_components.th,{children:`해결 방법`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quality \"ultra\" is not supported by gpt-image-2.6-flare`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),` / `,_jsx(_components.code,{children:`auto`}),`를 사용하세요. `,_jsx(_components.code,{children:`ultra`}),` 같은 다른 값은 지원하지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`n` must be an integer from 1 to 4\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`n`}),`을 1–4 사이의 정수로 지정하세요. `,_jsx(_components.code,{children:`0`}),`, 음수, 4보다 큰 값은 유효하지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_compression must be an integer from 0 to 100`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`output_compression`}),`을 0–100 사이의 정수로 지정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_compression is only supported with output_format jpeg or webp`})}),_jsx(_components.td,{children:`압축은 JPEG / WebP에서만 사용하세요. PNG / GIF / SVG 요청에서는 이 매개변수를 제거하세요.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`moderation \"xxx\" is not supported`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`moderation`}),`을 `,_jsx(_components.code,{children:`low`}),` 또는 `,_jsx(_components.code,{children:`auto`}),`로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markup requires image_urls`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_urls`}),`를 추가하고 레이어를 첫 이미지에 맞추세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markup cannot be combined with mask`})}),_jsx(_components.td,{children:`마크업 또는 마스크 중 하나만 사용하세요.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_count must be an integer from 2 to 16`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`frame_count`}),`를 2–16 사이의 정수로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no supported sheet fits N GIF frames at size WxH`})}),_jsx(_components.td,{children:`프레임 크기나 개수를 줄이세요. 비율 이름은 사용할 수 없습니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format=svg requires svg.model`})}),_jsxs(_components.td,{children:[`지원하는 텍스트 모델을 지정한 `,_jsx(_components.code,{children:`svg`}),` 객체를 추가하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format=svg requires n=1`})}),_jsxs(_components.td,{children:[`SVG는 `,_jsx(_components.code,{children:`n: 1`}),`로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`background=transparent requires an alpha-capable output_format`})}),_jsx(_components.td,{children:`명시적인 투명 배경은 PNG / WebP만 지원합니다. SVG에서는 생략하세요.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`미지원-매개변수와-과금`,children:`미지원 매개변수와 과금`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`stream`}),`, `,_jsx(_components.code,{children:`partial_images`}),`, `,_jsx(_components.code,{children:`input_fidelity`}),`, `,_jsx(_components.code,{children:`prompt_rewriter`}),`, `,_jsx(_components.code,{children:`response_format`}),`을 전달하지 마세요. 이 API는 비동기 작업과 CDN URL을 반환하며 부분 이미지 스트리밍이나 Base64 이미지 응답은 제공하지 않습니다. `,_jsx(_components.code,{children:`frame_count`}),` / `,_jsx(_components.code,{children:`frame_duration_ms`}),`는 GIF 전용, `,_jsx(_components.code,{children:`svg`}),` 설정은 SVG 전용입니다.`]}),`\n`,_jsxs(_components.p,{children:[`Flare와 Sunburst의 과금 기준은 같습니다. 2.6의 `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),`은 2.5보다 토큰을 많이 사용하므로 기존 비용 추정을 그대로 적용하지 마세요. 최신 요금은 `,_jsx(_components.a,{href:`https://apimart.ai/pricing`,children:`APIMart 가격 페이지`}),` 또는 `,_jsx(_components.code,{children:`/api/pricing`}),`을 참고하세요. 이 페이지에는 고정 가격을 기재하지 않습니다.`]}),`\n`,_jsxs(_components.p,{children:[`업스트림 기능 설명은 `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/guides/image-generation`,children:`OpenAI 이미지 생성 가이드`}),`를 참고하세요. APIMart 호출 시 엔드포인트, 비동기 응답, 매개변수 제한은 이 페이지를 따릅니다.`]})]})}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":"GPT-Image-2.6 이미지 생성","description":"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.6/generation"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`텍스트 기반 생성, 이미지 편집, GIF, SVG 모두 `,_jsx(_components.code,{children:`POST /v1/images/generations`}),`를 사용합니다. 제출 응답에서 `,_jsx(_components.code,{children:`data[0].task_id`}),`를 읽고 작업을 조회해 파일 URL을 받습니다.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,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:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.apimart.ai/v1/images/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"gpt-image-2.6-flare\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"A cozy reading nook by a rainy window, warm lamp light\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"1:1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1k\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\": \"medium\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"n\": 1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`16`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.apimart.ai/v1/images/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cozy reading nook by a rainy window, warm lamp light\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1:1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"n\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`18`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.apimart.ai/v1/images/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"A cozy reading nook by a rainy window, warm lamp light\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1:1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"medium\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"n\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`].`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`task_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KXXXXXXXXXXXXXXX\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`인증`,children:`인증`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Bearer Token 인증을 사용합니다. `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`API 키 관리 페이지`}),`에서 키를 발급받으세요.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`모델-선택`,children:`모델 선택`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`모델`}),_jsx(_components.th,{children:`용도`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-flare`})}),_jsx(_components.td,{children:`속도를 우선하는 빠른 반복 작업에 적합하며 기본 선택으로 권장합니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gpt-image-2.6-sunburst`})}),_jsxs(_components.td,{children:[`세부 묘사와 편집 일관성을 우선하며, 특히 `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` 품질의 반복 편집에 적합합니다.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`두 모델은 동일한 설정에서 토큰 단가와 사용량이 같습니다. 속도와 세부 묘사 요구에 따라 선택하세요.`}),`\n`,_jsx(Heading,{level:`2`,id:`요청-매개변수`,children:`요청 매개변수`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`모델 이름: `,_jsx(_components.code,{children:`gpt-image-2.6-flare`}),` 또는 `,_jsx(_components.code,{children:`gpt-image-2.6-sunburst`}),`.`]})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsx(_components.p,{children:`생성 또는 편집 지침으로 최대 32,000자입니다. 대상, 구도, 변경하거나 유지할 내용을 설명하세요.`})}),`\n`,_jsx(ParamField,{body:`size`,type:`string`,default:`auto`,id:`param-size`,children:_jsxs(_components.p,{children:[`정지 이미지와 SVG는 15가지 비율, `,_jsx(_components.code,{children:`1600x1200`}),` 같은 픽셀 크기, `,_jsx(_components.code,{children:`auto`}),`를 지원합니다. 명시적 `,_jsx(_components.code,{children:`auto`}),`는 업스트림이 결정합니다. 편집 시 생략하면 첫 입력 이미지의 비율과 `,_jsx(_components.code,{children:`resolution`}),`으로 크기를 선택합니다. GIF는 아래 별도 규칙을 따릅니다.`]})}),`\n`,_jsx(ParamField,{body:`resolution`,type:`string`,default:`1k`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`소문자 `,_jsx(_components.code,{children:`1k`}),` / `,_jsx(_components.code,{children:`2k`}),` / `,_jsx(_components.code,{children:`4k`}),`. 비율 형식의 `,_jsx(_components.code,{children:`size`}),`와 함께 픽셀 크기를 결정하며, 정확한 픽셀 크기 지정 시 무시됩니다.`]})}),`\n`,_jsxs(ParamField,{body:`quality`,type:`string`,default:`auto`,id:`param-quality`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),` / `,_jsx(_components.code,{children:`auto`}),`. 다른 값은 제출 시 HTTP 400을 반환합니다. 생략하거나 `,_jsx(_components.code,{children:`auto`}),`로 지정하면 모델이 품질 단계를 자동으로 선택합니다. 선택된 단계는 달라질 수 있으며 `,_jsx(_components.code,{children:`low`}),`로 고정되지 않습니다. 고정된 단계가 필요하면 명시적으로 지정하세요.`]}),_jsxs(_components.p,{children:[`생략하거나 `,_jsx(_components.code,{children:`auto`}),`로 지정하면 `,_jsx(_components.code,{children:`max`}),` 단계 기준으로 비용을 사전 확보하고, 실제 선택된 품질 단계에 따라 최종 정산합니다.`]})]}),`\n`,_jsx(ParamField,{body:`n`,type:`integer`,default:`1`,id:`param-n`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`1`}),`–`,_jsx(_components.code,{children:`4`}),` 사이의 정수. GIF에서는 애니메이션 수를 뜻합니다. SVG는 `,_jsx(_components.code,{children:`1`}),`만 지원합니다. 명시적인 `,_jsx(_components.code,{children:`0`}),`, 음수 또는 `,_jsx(_components.code,{children:`4`}),`보다 큰 값은 기본값으로 대체되지 않고 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`output_format`,type:`string`,default:`png`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`jpeg`}),` / `,_jsx(_components.code,{children:`webp`}),` / `,_jsx(_components.code,{children:`gif`}),` / `,_jsx(_components.code,{children:`svg`}),`. GIF와 SVG는 텍스트 기반 생성만 지원합니다. 다른 값은 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`output_compression`,type:`integer`,id:`param-output-compression`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`0`}),`–`,_jsx(_components.code,{children:`100`}),` 사이의 정수이며 `,_jsx(_components.code,{children:`jpeg`}),` / `,_jsx(_components.code,{children:`webp`}),`만 지원합니다. 범위를 벗어나거나 `,_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`gif`}),` / `,_jsx(_components.code,{children:`svg`}),`와 함께 사용하면 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`background`,type:`string`,id:`param-background`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`transparent`}),` / `,_jsx(_components.code,{children:`opaque`}),` / `,_jsx(_components.code,{children:`auto`}),`. 생략하면 업스트림 기본값을 사용합니다. 명시적인 `,_jsx(_components.code,{children:`transparent`}),`는 `,_jsx(_components.code,{children:`png`}),` / `,_jsx(_components.code,{children:`webp`}),`만 지원합니다. SVG는 기본 배경이 투명하므로 이 필드를 생략하세요.`]})}),`\n`,_jsx(ParamField,{body:`moderation`,type:`string`,default:`low`,id:`param-moderation`,children:_jsxs(_components.p,{children:[`콘텐츠 검토 수준: `,_jsx(_components.code,{children:`auto`}),` / `,_jsx(_components.code,{children:`low`}),`. 다른 값은 제출 시 HTTP 400을 반환합니다.`]})}),`\n`,_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[`최대 16장의 참조 이미지이며 지정하면 편집 모드가 됩니다. 공개 접근 가능한 HTTP(S) 이미지 URL을 사용하세요. 로컬 파일은 `,_jsx(_components.a,{href:`/ko/api-reference/uploads/images`,children:`이미지 업로드 API`}),`에 먼저 업로드한 뒤 반환된 `,_jsx(_components.code,{children:`url`}),`을 전달합니다.`]})}),`\n`,_jsx(ParamField,{body:`mask_url`,type:`string`,id:`param-mask-url`,children:_jsxs(_components.p,{children:[`부분 편집 마스크이며 `,_jsx(_components.code,{children:`image_urls`}),`가 필요합니다. 첫 이미지와 크기가 같은 알파 채널 PNG를 사용하며 완전히 투명한 영역이 편집 대상입니다. 이미지 URL 또는 PNG Data URL을 지원합니다. 마크업과 함께 사용할 수 없으며 마스크 밖 픽셀의 완전한 보존은 보장하지 않습니다.`]})}),`\n`,_jsx(ParamField,{body:`complexity`,type:`string`,id:`param-complexity`,children:_jsxs(_components.p,{children:[`계획 강도: `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),`. 업스트림 기본값은 `,_jsx(_components.code,{children:`high`}),`이며 렌더링 `,_jsx(_components.code,{children:`quality`}),`와 독립적입니다. 국소 수정에는 `,_jsx(_components.code,{children:`low`}),`, 많은 텍스트·복잡한 배치·객체 관계에는 `,_jsx(_components.code,{children:`high`}),`가 적합하지만 느려지거나 추가 변경이 생길 수 있습니다. 별도 요금은 없으며 2.6만 지원합니다.`]})}),`\n`,_jsx(ParamField,{body:`safety_identifier`,type:`string`,id:`param-safety-identifier`,children:_jsx(_components.p,{children:`선택 사항인 안정적인 최종 사용자 식별자, 최대 128자. 사용자명이나 이메일의 해시를 권장합니다. APIMart는 기본적으로 업스트림에 전달하지 않으며 채널이 허용할 때만 전달합니다. 생략해도 사용에 영향이 없습니다.`})}),`\n`,_jsx(Heading,{level:`2`,id:`정지-이미지-및-svg-크기`,children:`정지 이미지 및 SVG 크기`}),`\n`,_jsx(_components.p,{children:`정확한 픽셀 크기는 가로·세로 모두 16의 배수, 각 변 최대 3840, 긴 변과 짧은 변의 비율 최대 3:1, 전체 픽셀 655,360–8,294,400이어야 합니다. 2560×1440을 초과하는 해상도는 실험적입니다. 아래 매핑은 GPT-Image-2.5와 같으며 이 정지 이미지 제한을 GIF 개별 프레임에 직접 적용하지 마세요.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`1k`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`2k`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`4k`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2880×2880`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:2`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1360`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3520×2336`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1360×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2336×3520`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×768`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3312×2480`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`768×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2480×3312`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`5:4`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1280×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2560×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3216×2576`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`4:5`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×1280`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×2560`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2576×3216`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`16:9`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×864`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1152`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×2160`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9:16`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`864×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1152×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2160×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2048×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2688×1344`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1920`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:2`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×2048`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1344×2688`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1920×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`21:9`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2016×864`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`2688×1152`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1648`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9:21`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`864×2016`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1152×2688`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1648×3840`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`3:1`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1536×512`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3072×1024`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`3840×1280`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`1:3`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`512×1536`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1024×3072`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1280×3840`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`이미지-편집과-마스크`,children:`이미지 편집과 마스크`}),`\n`,_jsxs(_components.p,{children:[`다음 요청은 첫 이미지를 부분 편집합니다. `,_jsx(_components.code,{children:`mask_url`}),`을 생략하면 프롬프트에 따라 전체 이미지를 편집하고, `,_jsx(_components.code,{children:`size`}),`를 생략하면 첫 이미지 비율과 `,_jsx(_components.code,{children:`resolution`}),`으로 출력 크기를 선택합니다. 예제 URL은 접근 가능한 실제 이미지로 교체하세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-sunburst\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Replace the fully transparent masked area with a gold ribbon. Preserve the product and the rest of the background.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/product.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mask_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/product-mask.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2k\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"complexity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`마크업-기반-편집`,children:`마크업 기반 편집`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`markup_url`}),`에 HTTPS 또는 Base64 Data URL을 전달합니다. 별칭 `,_jsx(_components.code,{children:`markup`}),`은 문자열이나 `,_jsx(_components.code,{children:`{\"image_url\":\"...\"}`}),` 객체를 받습니다. `,_jsx(_components.code,{children:`file_id`}),`는 지원하지 않습니다.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image_urls`}),`가 필수입니다. 마크업은 첫 이미지에 적용되고 나머지는 참조로 사용됩니다.`]}),`\n`,_jsx(_components.li,{children:`첫 이미지와 정확히 같은 크기의 별도 투명 PNG 레이어를 사용하세요. 원본에 표시를 합성하지 마세요.`}),`\n`,_jsx(_components.li,{children:`첫 이미지와 레이어는 각각 최대 16,777,216픽셀이며 레이어 파일은 최대 50 MB입니다.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`mask_url`}),`과 함께 사용할 수 없습니다. 레이어에는 이미지 토큰이 부과되지 않지만 추가 텍스트 토큰이 발생할 수 있습니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Recolor the striped vase inside the red circle to solid cobalt blue ceramic. Keep everything else unchanged. Remove the red circle.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/kitchen.webp\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"markup_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/vase-circle-overlay.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"medium\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`gif-애니메이션`,children:`GIF 애니메이션`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`output_format: \"gif\"`}),`로 설정합니다. 텍스트 기반 생성만 지원하므로 `,_jsx(_components.code,{children:`image_urls`}),`, `,_jsx(_components.code,{children:`mask_url`}),`, `,_jsx(_components.code,{children:`markup_url`}),`, `,_jsx(_components.code,{children:`markup`}),`, `,_jsx(_components.code,{children:`output_compression`}),`을 전달하지 마세요.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`매개변수`}),_jsx(_components.th,{children:`기본값`}),_jsx(_components.th,{children:`설명`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_count`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`9`})}),_jsxs(_components.td,{children:[`정수 `,_jsx(_components.strong,{children:`2–16`}),`. APIMart의 현재 상한은 16이며 업스트림 가이드의 64프레임 제한은 적용되지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_duration_ms`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`프레임별 표시 시간, 정수 밀리초. 최소 20이며 10 ms 단위로 반올림됩니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`auto`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`각 프레임`}),`의 픽셀 크기이며 가로·세로는 16의 배수입니다. 생략 또는 `,_jsx(_components.code,{children:`auto`}),`는 현재 512×512입니다. `,_jsx(_components.code,{children:`1:1`}),` 같은 비율 이름은 지원하지 않습니다.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`업스트림은 프레임을 시트에 배치합니다. 2–8프레임은 4×2, 9프레임은 3×3, 10–12프레임은 4×3, 13–16프레임은 4×4입니다. 정사각형에 가깝게 행과 열을 바꿀 수 있습니다. 전체 시트의 각 변은 최대 3840, 총 픽셀은 최대 8,294,400, 긴 변과 짧은 변의 비율은 최대 3:1이어야 하며 초과 시 제출 단계에서 400을 반환합니다.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`512x512`}),`는 2–16프레임 모두, `,_jsx(_components.code,{children:`768x768`}),`는 최대 12프레임을 지원합니다. `,_jsx(_components.code,{children:`1024x1024`}),`는 2프레임만으로도 시트 변 길이 상한을 초과합니다. 각 애니메이션의 전체 시트를 기준으로 과금하며 `,_jsx(_components.code,{children:`n > 1`}),`이면 여러 애니메이션을 생성하고 각각 과금합니다.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-sunburst\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A paper lantern swaying gently in the night breeze, seamless loop\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gif\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"frame_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"frame_duration_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`svg-출력`,children:`SVG 출력`}),`\n`,_jsxs(ParamField,{body:`svg`,type:`object`,id:`param-svg`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`output_format: \"svg\"`}),`로 설정합니다. 이미지 모델이 참조 이미지를 생성한 다음 `,_jsx(_components.code,{children:`svg.model`}),`의 텍스트 모델이 SVG를 작성합니다.`]}),_jsxs(Expandable,{title:`svg`,children:[_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model-1`,children:_jsxs(_components.p,{children:[`필수. `,_jsx(_components.code,{children:`gpt-5.4-mini`}),`, `,_jsx(_components.code,{children:`gpt-5.6-sol`}),` 등 플랫폼에 텍스트 토큰 요금이 있는 모델을 선택하세요.`]})}),_jsx(ParamField,{body:`reasoning`,type:`object`,id:`param-reasoning`,children:_jsx(Expandable,{title:`reasoning`,children:_jsx(ParamField,{body:`effort`,type:`string`,id:`param-effort`,children:_jsxs(_components.p,{children:[`선택 사항: `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`minimal`}),` / `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),`. 지원 값은 텍스트 모델마다 다릅니다. 생략해 모델 기본값을 사용하는 것을 권장합니다.`]})})})})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`텍스트 기반 생성만 지원하며 `,_jsx(_components.code,{children:`n`}),`은 1이어야 합니다. 참조 이미지, 마스크, 마크업, `,_jsx(_components.code,{children:`output_compression`}),`은 사용할 수 없습니다.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`quality`}),`와 `,_jsx(_components.code,{children:`complexity`}),`는 중간 참조 이미지에 적용됩니다. 결과는 스크립트, 외부 리소스, 내장 비트맵이 없는 정적 `,_jsx(_components.code,{children:`.svg`}),`입니다.`]}),`\n`,_jsxs(_components.li,{children:[`이미지 생성 비용 외에 `,_jsx(_components.code,{children:`svg.model`}),`의 텍스트 사용량이 추가 과금됩니다. 이미지당 고정 요금 계약 계정은 현재 SVG를 지원하지 않아 제출 시 400을 반환합니다.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-image-2.6-flare\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A minimalist bakery logo with a wheat stalk, flat colors\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"svg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"svg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-5.4-mini\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1:1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"n\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`작업-결과-조회`,children:`작업 결과 조회`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/ko/api-reference/tasks/status`,children:`작업 조회 API`}),`를 2–5초마다 호출해 `,_jsx(_components.code,{children:`completed`}),` 또는 `,_jsx(_components.code,{children:`failed`}),`까지 확인하세요. 대기 중 생성 요청을 반복 제출하지 마세요.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.apimart.ai/v1/tasks/task_01KXXXXXXXXXXXXXXX`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`완료되면 `,_jsx(_components.code,{children:`data.result.images[].url[]`}),`에서 파일 URL을 읽어 바로 저장하세요. 아래 예시는 주요 필드만 표시합니다. `,_jsx(_components.code,{children:`failed`}),`일 때는 `,_jsx(_components.code,{children:`data.error.message`}),`를 확인하세요. 여러 작업은 `,_jsx(_components.code,{children:`POST /v1/tasks/batch`}),`로 일괄 조회할 수 있습니다.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KXXXXXXXXXXXXXXX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://upload.apimart.ai/f/image/example.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`svg-사용량과-응답-예제`,children:`SVG 사용량과 응답 예제`}),`\n`,_jsxs(_components.p,{children:[`작업 조회 응답의 `,_jsx(_components.code,{children:`data.usage.svg_usage`}),`는 SVG를 작성하는 텍스트 모델의 사용량입니다. `,_jsx(_components.code,{children:`data.usage`}),`의 나머지 토큰 필드는 참조 이미지를 생성하는 이미지 모델의 사용량입니다. 각 부분을 해당 모델의 과금 규칙에 따라 별도로 집계하세요.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`필드`}),_jsx(_components.th,{children:`유형`}),_jsx(_components.th,{children:`설명`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`model`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`SVG 작성에 실제 사용된 텍스트 모델.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`텍스트 모델의 입력 토큰 수.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`텍스트 모델의 출력 토큰 수로, 추론 토큰이 포함됩니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reasoning_tokens`})}),_jsx(_components.td,{children:`integer`}),_jsxs(_components.td,{children:[`출력 토큰 중 추론에 사용된 부분입니다. `,_jsx(_components.code,{children:`output_tokens`}),`에 다시 더하지 마세요.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`다음은 SVG 작업 응답의 주요 필드입니다. 토큰 수는 필드 관계를 설명하기 위한 예시이며 고정 사용량을 뜻하지 않습니다.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01KXXXXXXXXXXXXXXX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"images\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://upload.apimart.ai/f/image/example.svg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1800`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1840`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"svg_usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-5.4-mini\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"output_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`800`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reasoning_tokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`자주-발생하는-매개변수-오류`,children:`자주 발생하는 매개변수 오류`}),`\n`,_jsx(_components.p,{children:`다음 매개변수 검증 오류는 제출 시 동기적으로 HTTP 400을 반환합니다. 작업이 생성되지 않고 요금도 부과되지 않습니다. 매개변수를 수정한 뒤 다시 제출하세요.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`오류`}),_jsx(_components.th,{children:`해결 방법`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quality \"ultra\" is not supported by gpt-image-2.6-flare`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),` / `,_jsx(_components.code,{children:`high`}),` / `,_jsx(_components.code,{children:`xhigh`}),` / `,_jsx(_components.code,{children:`max`}),` / `,_jsx(_components.code,{children:`auto`}),`를 사용하세요. `,_jsx(_components.code,{children:`ultra`}),` 같은 다른 값은 지원하지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`n` must be an integer from 1 to 4\"})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`n`}),`을 1–4 사이의 정수로 지정하세요. `,_jsx(_components.code,{children:`0`}),`, 음수, 4보다 큰 값은 유효하지 않습니다.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_compression must be an integer from 0 to 100`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`output_compression`}),`을 0–100 사이의 정수로 지정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_compression is only supported with output_format jpeg or webp`})}),_jsx(_components.td,{children:`압축은 JPEG / WebP에서만 사용하세요. PNG / GIF / SVG 요청에서는 이 매개변수를 제거하세요.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`moderation \"xxx\" is not supported`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`moderation`}),`을 `,_jsx(_components.code,{children:`low`}),` 또는 `,_jsx(_components.code,{children:`auto`}),`로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markup requires image_urls`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_urls`}),`를 추가하고 레이어를 첫 이미지에 맞추세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markup cannot be combined with mask`})}),_jsx(_components.td,{children:`마크업 또는 마스크 중 하나만 사용하세요.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`frame_count must be an integer from 2 to 16`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`frame_count`}),`를 2–16 사이의 정수로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no supported sheet fits N GIF frames at size WxH`})}),_jsx(_components.td,{children:`프레임 크기나 개수를 줄이세요. 비율 이름은 사용할 수 없습니다.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format=svg requires svg.model`})}),_jsxs(_components.td,{children:[`지원하는 텍스트 모델을 지정한 `,_jsx(_components.code,{children:`svg`}),` 객체를 추가하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`output_format=svg requires n=1`})}),_jsxs(_components.td,{children:[`SVG는 `,_jsx(_components.code,{children:`n: 1`}),`로 설정하세요.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`background=transparent requires an alpha-capable output_format`})}),_jsx(_components.td,{children:`명시적인 투명 배경은 PNG / WebP만 지원합니다. SVG에서는 생략하세요.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`미지원-매개변수와-과금`,children:`미지원 매개변수와 과금`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`stream`}),`, `,_jsx(_components.code,{children:`partial_images`}),`, `,_jsx(_components.code,{children:`input_fidelity`}),`, `,_jsx(_components.code,{children:`prompt_rewriter`}),`, `,_jsx(_components.code,{children:`response_format`}),`을 전달하지 마세요. 이 API는 비동기 작업과 CDN URL을 반환하며 부분 이미지 스트리밍이나 Base64 이미지 응답은 제공하지 않습니다. `,_jsx(_components.code,{children:`frame_count`}),` / `,_jsx(_components.code,{children:`frame_duration_ms`}),`는 GIF 전용, `,_jsx(_components.code,{children:`svg`}),` 설정은 SVG 전용입니다.`]}),`\n`,_jsxs(_components.p,{children:[`Flare와 Sunburst의 과금 기준은 같습니다. 2.6의 `,_jsx(_components.code,{children:`low`}),` / `,_jsx(_components.code,{children:`medium`}),`은 2.5보다 토큰을 많이 사용하므로 기존 비용 추정을 그대로 적용하지 마세요. 최신 요금은 `,_jsx(_components.a,{href:`https://apimart.ai/pricing`,children:`APIMart 가격 페이지`}),` 또는 `,_jsx(_components.code,{children:`/api/pricing`}),`을 참고하세요. 이 페이지에는 고정 가격을 기재하지 않습니다.`]}),`\n`,_jsxs(_components.p,{children:[`업스트림 기능 설명은 `,_jsx(_components.a,{href:`https://developers.openai.com/api/docs/guides/image-generation`,children:`OpenAI 이미지 생성 가이드`}),`를 참고하세요. APIMart 호출 시 엔드포인트, 비동기 응답, 매개변수 제한은 이 페이지를 따릅니다.`]})]})}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":"GPT-Image-2.6 이미지 생성","description":"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.6/generation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"인증","slug":"인증","depth":2,"children":[]},{"title":"모델 선택","slug":"모델-선택","depth":2,"children":[]},{"title":"요청 매개변수","slug":"요청-매개변수","depth":2,"children":[]},{"title":"정지 이미지 및 SVG 크기","slug":"정지-이미지-및-svg-크기","depth":2,"children":[]},{"title":"이미지 편집과 마스크","slug":"이미지-편집과-마스크","depth":2,"children":[]},{"title":"마크업 기반 편집","slug":"마크업-기반-편집","depth":2,"children":[]},{"title":"GIF 애니메이션","slug":"gif-애니메이션","depth":2,"children":[]},{"title":"SVG 출력","slug":"svg-출력","depth":2,"children":[]},{"title":"작업 결과 조회","slug":"작업-결과-조회","depth":2,"children":[{"title":"SVG 사용량과 응답 예제","slug":"svg-사용량과-응답-예제","depth":3,"children":[]}]},{"title":"자주 발생하는 매개변수 오류","slug":"자주-발생하는-매개변수-오류","depth":2,"children":[]},{"title":"미지원 매개변수와 과금","slug":"미지원-매개변수와-과금","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.apimart.ai/v1/images/generations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"gpt-image-2.6-flare\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"A cozy reading nook by a rainy window, warm lamp light\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\": \"1:1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"1k\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"quality\": \"medium\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"n\": 1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.apimart.ai/v1/images/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"gpt-image-2.6-flare\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A cozy reading nook by a rainy window, warm lamp light\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1:1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1k\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"quality\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"medium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"n\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response.raise_for_status()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(response.json()[\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">][\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">][\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">])\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"18\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://api.apimart.ai/v1/images/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Authorization:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"gpt-image-2.6-flare\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"A cozy reading nook by a rainy window, warm lamp light\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"1:1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"1k\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"quality\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"medium\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"n\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">if\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> (\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">!\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">ok\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">throw\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> Error\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">text\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">());\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">[\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">].\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">task_id\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"submitted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_01KXXXXXXXXXXXXXXX\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"GPT-Image-2.6 이미지 생성","path":"/v1/images/generations","servers":[{"url":"https://api.apimart.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer Token 인증을 사용합니다. API 키 관리 페이지 에서 키를 발급받으세요.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"모델 이름: `gpt-image-2.6-flare` 또는 `gpt-image-2.6-sunburst` .","required":true}],"prompt":[{"type":"string","description":"생성 또는 편집 지침으로 최대 32,000자입니다. 대상, 구도, 변경하거나 유지할 내용을 설명하세요.","required":true}],"size":[{"type":"string","description":"정지 이미지와 SVG는 15가지 비율, `1600x1200` 같은 픽셀 크기, `auto` 를 지원합니다. 명시적 `auto` 는 업스트림이 결정합니다. 편집 시 생략하면 첫 입력 이미지의 비율과 `resolution` 으로 크기를 선택합니다. GIF는 아래 별도 규칙을 따릅니다."}],"resolution":[{"type":"string","description":"소문자 `1k` / `2k` / `4k` . 비율 형식의 `size` 와 함께 픽셀 크기를 결정하며, 정확한 픽셀 크기 지정 시 무시됩니다."}],"quality":[{"type":"string","description":"`low` / `medium` / `high` / `xhigh` / `max` / `auto` . 다른 값은 제출 시 HTTP 400을 반환합니다. 생략하거나 `auto` 로 지정하면 모델이 품질 단계를 자동으로 선택합니다. 선택된 단계는 달라질 수 있으며 `low` 로 고정되지 않습니다. 고정된 단계가 필요하면 명시적으로 지정하세요. 생략하거나 `auto` 로 지정하면 `max` 단계 기준으로 비용을 사전 확보하고, 실제 선택된 품질 단계에 따라 최종 정산합니다."}],"n":[{"type":"integer","description":"`1` – `4` 사이의 정수. GIF에서는 애니메이션 수를 뜻합니다. SVG는 `1` 만 지원합니다. 명시적인 `0` , 음수 또는 `4` 보다 큰 값은 기본값으로 대체되지 않고 HTTP 400을 반환합니다."}],"output_format":[{"type":"string","description":"`png` / `jpeg` / `webp` / `gif` / `svg` . GIF와 SVG는 텍스트 기반 생성만 지원합니다. 다른 값은 제출 시 HTTP 400을 반환합니다."}],"output_compression":[{"type":"integer","description":"`0` – `100` 사이의 정수이며 `jpeg` / `webp` 만 지원합니다. 범위를 벗어나거나 `png` / `gif` / `svg` 와 함께 사용하면 제출 시 HTTP 400을 반환합니다."}],"background":[{"type":"string","description":"`transparent` / `opaque` / `auto` . 생략하면 업스트림 기본값을 사용합니다. 명시적인 `transparent` 는 `png` / `webp` 만 지원합니다. SVG는 기본 배경이 투명하므로 이 필드를 생략하세요."}],"moderation":[{"type":"string","description":"콘텐츠 검토 수준: `auto` / `low` . 다른 값은 제출 시 HTTP 400을 반환합니다."}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"최대 16장의 참조 이미지이며 지정하면 편집 모드가 됩니다. 공개 접근 가능한 HTTP(S) 이미지 URL을 사용하세요. 로컬 파일은 이미지 업로드 API 에 먼저 업로드한 뒤 반환된 `url` 을 전달합니다."}],"mask_url":[{"type":"string","description":"부분 편집 마스크이며 `image_urls` 가 필요합니다. 첫 이미지와 크기가 같은 알파 채널 PNG를 사용하며 완전히 투명한 영역이 편집 대상입니다. 이미지 URL 또는 PNG Data URL을 지원합니다. 마크업과 함께 사용할 수 없으며 마스크 밖 픽셀의 완전한 보존은 보장하지 않습니다."}],"complexity":[{"type":"string","description":"계획 강도: `low` / `medium` / `high` . 업스트림 기본값은 `high` 이며 렌더링 `quality` 와 독립적입니다. 국소 수정에는 `low` , 많은 텍스트·복잡한 배치·객체 관계에는 `high` 가 적합하지만 느려지거나 추가 변경이 생길 수 있습니다. 별도 요금은 없으며 2.6만 지원합니다."}],"safety_identifier":[{"type":"string","description":"선택 사항인 안정적인 최종 사용자 식별자, 최대 128자. 사용자명이나 이메일의 해시를 권장합니다. APIMart는 기본적으로 업스트림에 전달하지 않으며 채널이 허용할 때만 전달합니다. 생략해도 사용에 영향이 없습니다."}],"svg":[{"type":"object","properties":{"model":[{"type":"string","description":"필수. `gpt-5.4-mini` , `gpt-5.6-sol` 등 플랫폼에 텍스트 토큰 요금이 있는 모델을 선택하세요.","required":true}],"reasoning":[{"type":"object","properties":{"effort":[{"type":"string","description":"선택 사항: `none` / `minimal` / `low` / `medium` / `high` / `xhigh` / `max` . 지원 값은 텍스트 모델마다 다릅니다. 생략해 모델 기본값을 사용하는 것을 권장합니다."}]}}]},"description":"`output_format: \"svg\"` 로 설정합니다. 이미지 모델이 참조 이미지를 생성한 다음 `svg.model` 의 텍스트 모델이 SVG를 작성합니다."}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","prompt":"\u003cstring>","size":"\u003cstring>","resolution":"\u003cstring>","quality":"\u003cstring>","n":123,"output_format":"\u003cstring>","output_compression":123,"background":"\u003cstring>","moderation":"\u003cstring>","image_urls":["\u003cstring>"],"mask_url":"\u003cstring>","complexity":"\u003cstring>","safety_identifier":"\u003cstring>","svg":{"model":"\u003cstring>","reasoning":{"effort":"\u003cstring>"}}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/_mintlify/custom/apicore/1f7e29c94a916812/cn-domain-rewrite.js","/_mintlify/custom/apicore/afc6076845564106/param-field-copy.js"],"subdomain":"apicore","siteName":"APIMart","title":"GPT-Image-2.6 이미지 생성 - APIMart","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"zh-Hans":{"href":"/cn/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"ja":{"href":"/ja/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"ko":{"href":"/ko/api-reference/images/gpt-image-2.6/generation","matchLevel":0},"ru":{"href":"/ru/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"de":{"href":"/de/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"fr":{"href":"/fr/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"pt":{"href":"/pt/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"id":{"href":"/id/api-reference/images/gpt-image-2.6/generation","matchLevel":1},"es":{"href":"/es/api-reference/images/gpt-image-2.6/generation","matchLevel":1}}},"lastModified":"2026-11-05T06:35:27.655Z","originalFileLocation":"ko/api-reference/images/gpt-image-2.6/generation.mdx","locale":"ko"},"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=\"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\">\u003cmeta data-mint-head name=\"keywords\" content=\"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIMart\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_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/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GPT-Image-2.6 이미지 생성 - APIMart\">\u003cmeta data-mint-head property=\"og:description\" content=\"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIMart\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apicore.mintlify.app/_mintlify/api/og/v2?division=GPT-Image-2.6\u0026amp;title=GPT-Image-2.6+%EC%9D%B4%EB%AF%B8%EC%A7%80+%EC%83%9D%EC%84%B1\u0026amp;description=Flare%EC%99%80+Sunburst%EB%A1%9C+%EC%9D%B4%EB%AF%B8%EC%A7%80%EB%A5%BC+%EB%B9%84%EB%8F%99%EA%B8%B0+%EC%83%9D%EC%84%B1%C2%B7%ED%8E%B8%EC%A7%91%ED%95%98%EA%B3%A0%2C+%EB%A7%88%ED%81%AC%EC%97%85+%ED%8E%B8%EC%A7%91%2C+GIF+%EC%95%A0%EB%8B%88%EB%A9%94%EC%9D%B4%EC%85%98%2C+SVG+%EC%B6%9C%EB%A0%A5%EC%9D%84+%EC%82%AC%EC%9A%A9%ED%95%98%EC%84%B8%EC%9A%94.\u0026amp;theme=85f832f8b30837d0268a5e67\u0026amp;signature=327f91a6709bc8da021d45d04ab43287014e049f4fc685042be6c5421180a141\">\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=\"GPT-Image-2.6 이미지 생성 - APIMart\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apicore.mintlify.app/_mintlify/api/og/v2?division=GPT-Image-2.6\u0026amp;title=GPT-Image-2.6+%EC%9D%B4%EB%AF%B8%EC%A7%80+%EC%83%9D%EC%84%B1\u0026amp;description=Flare%EC%99%80+Sunburst%EB%A1%9C+%EC%9D%B4%EB%AF%B8%EC%A7%80%EB%A5%BC+%EB%B9%84%EB%8F%99%EA%B8%B0+%EC%83%9D%EC%84%B1%C2%B7%ED%8E%B8%EC%A7%91%ED%95%98%EA%B3%A0%2C+%EB%A7%88%ED%81%AC%EC%97%85+%ED%8E%B8%EC%A7%91%2C+GIF+%EC%95%A0%EB%8B%88%EB%A9%94%EC%9D%B4%EC%85%98%2C+SVG+%EC%B6%9C%EB%A0%A5%EC%9D%84+%EC%82%AC%EC%9A%A9%ED%95%98%EC%84%B8%EC%9A%94.\u0026amp;theme=85f832f8b30837d0268a5e67\u0026amp;signature=327f91a6709bc8da021d45d04ab43287014e049f4fc685042be6c5421180a141\">\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/apicore/lN2mX6cSovqJeXFa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIMart\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@APIMart_\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ko/api-reference/images/gpt-image-2.6/generation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.apimart.ai/en/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.apimart.ai/cn/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.apimart.ai/ja/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.apimart.ai/ru/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.apimart.ai/de/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.apimart.ai/fr/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.apimart.ai/pt/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.apimart.ai/id/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.apimart.ai/es/api-reference/images/gpt-image-2.6/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.apimart.ai/en/api-reference/images/gpt-image-2.6/generation\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.apimart.ai/#organization\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.apimart.ai#website\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation#webpage\",\"url\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\",\"name\":\"GPT-Image-2.6 이미지 생성\",\"description\":\"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\",\"dateModified\":\"2026-11-05T06:35:27.655Z\",\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"이미지 시리즈\",\"item\":\"https://docs.apimart.ai/ko/api-reference/images/gemini-nano-banana-2.1/generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GPT-Image-2.6 이미지 생성\",\"item\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation#apireference\",\"headline\":\"GPT-Image-2.6 이미지 생성\",\"name\":\"GPT-Image-2.6 이미지 생성\",\"description\":\"Flare와 Sunburst로 이미지를 비동기 생성·편집하고, 마크업 편집, GIF 애니메이션, SVG 출력을 사용하세요.\",\"url\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apimart.ai/ko/api-reference/images/gpt-image-2.6/generation#webpage\"},\"dateModified\":\"2026-11-05T06:35:27.655Z\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIMart\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"APIMart","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/en/api-reference/images/gpt-image-2.6/generation"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/api-reference/images/gpt-image-2.6/generation"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/images/gpt-image-2.6/generation"}]},{"language":"ko","tabs":[{"tab":"API 매뉴얼","groups":[{"group":"개요","pages":[{"title":"APIMart — OpenAI 호환 API 게이트웨이(GPT-5, Claude, Gemini)","href":"/ko"}]},{"group":"모델","pages":[{"title":"모델 목록 메타데이터 API","api":"GET https://api.apimart.ai/v1/models","href":"/ko/api-reference/texts/models/list"}]},{"group":"텍스트 시리즈","icon":"text","pages":[{"title":"범용 채팅 API (기본 스트리밍)","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/ko/api-reference/texts/general/chat-completions"},{"title":"범용 채팅 API (기본 비스트리밍)","api":"POST https://api.apimart.ai/api/v1/chat/completions","href":"/ko/api-reference/texts/general/chat-completions-nostream"},{"title":"Claude Messages API","api":"POST https://api.apimart.ai/v1/messages","href":"/ko/api-reference/texts/general/claude-messages"},{"title":"Gemini 네이티브 형식","api":"POST https://api.apimart.ai/v1beta/models/{model}:{method}","href":"/ko/api-reference/texts/gemini/quickstart"},{"title":"OpenAI 멀티모달 Responses API","api":"POST https://api.apimart.ai/v1/responses","href":"/ko/api-reference/texts/openai/responses"},{"title":"OpenAI 컨텍스트 캐시 사용 가이드","sidebarTitle":"OpenAI 컨텍스트 캐시","icon":"database","href":"/ko/api-reference/texts/openai/context-cache"},{"title":"Gemini 컨텍스트 캐시 사용 가이드","sidebarTitle":"Gemini 컨텍스트 캐시","icon":"database","href":"/ko/api-reference/texts/gemini/context-cache"},{"title":"Claude 컨텍스트 캐시 사용 가이드","sidebarTitle":"Claude 컨텍스트 캐시","icon":"database","href":"/ko/api-reference/texts/general/claude-context-cache"},{"group":"qwen3.8-max","icon":"message","pages":[{"title":"qwen3.8-max Integration Guide","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/ko/api-reference/texts/qwen3.8-max/guide"},{"title":"Model Pricing API","api":"GET https://api.apimart.ai/api/pricing/model?model=qwen3.8-max","href":"/ko/api-reference/texts/qwen3.8-max/pricing"}]}]},{"group":"이미지 시리즈","icon":"image","pages":[{"group":"Nano banana 2.1","icon":"image","pages":[{"title":"Nano banana 2.1 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gemini-nano-banana-2.1/generation"}]},{"group":"Nano banana2","icon":"image","pages":[{"title":"Nano banana2 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gemini-3.1-flash/generation"},{"title":"Nano Banana Lite 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gemini-3.1-flash/generation-lite"}]},{"group":"Nano banana Pro","icon":"image","pages":[{"title":"Nano banana Pro 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gemini-3-pro/generation"}]},{"group":"Nano banana","icon":"image","pages":[{"title":"Nano banana 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"Imagen-4.0","icon":"image","pages":[{"title":"Imagen 4.0 Apimart 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/imagen-4.0-apimart/generation"}]},{"group":"GPT-Image(1/1.5)","icon":"image","pages":[{"title":"GPT-Image(1/1.5) 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-1/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"GPT-Image-2 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2/generation"},{"title":"GPT-Image-2 공식 채널 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"GPT-Image-2.5 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.5/generation"}]},{"group":"GPT-Image-2.5 Ext","icon":"image","pages":[{"title":"GPT-Image-2.5 Ext 이미지 생성","description":" - gpt-image-2.5-ext를 사용하며 version으로 Flare 또는 Sunburst 선택\n- 비동기 처리 방식으로, 제출 후 작업 ID를 사용해 결과 조회\n- 텍스트 기반 이미지 생성 및 최대 16개의 참조 이미지를 활용한 이미지 생성 지원\n- 10가지 화면 비율과 auto, 1K / 2K / 4K 해상도 지원\n- 요청당 1~4개 이미지를 생성하며 버전, 해상도, 실제 제공된 이미지 수에 따라 과금 ","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.5-ext/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/gpt-image-2.6/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Seedream-4.0 이미지 생성","description":" - 비동기 처리 모드로 후속 쿼리를 위한 작업 ID를 반환합니다\n- 텍스트에서 이미지, 이미지에서 이미지, 이미지 편집 등 다양한 생성 모드를 지원합니다\n- 생성된 이미지 링크는 24시간 동안 유효하니 신속하게 저장하세요 ","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Seedream-4.5 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0-Lite","icon":"image","pages":[{"title":"Seedream-5.0-Lite 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/seedream-5-lite/generation"}]},{"group":"Seedream-5.0-Pro","icon":"image","pages":[{"title":"Seedream-5.0-Pro 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/seedream-5-0-pro/generation"}]},{"group":"Seedream-5.0-Flash","icon":"image","pages":[{"title":"Seedream-5.0-Flash 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/seedream-5-0-flash/generation"}]},{"group":"Flux Kontext","icon":"image","pages":[{"title":"Flux Kontext 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","icon":"image","pages":[{"title":"Flux 2.0 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/flux-2/generation"}]},{"group":"FLUX 3 Image","icon":"image","pages":[{"title":"FLUX 3 Image 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/flux-3-image/generation"}]},{"group":"FLUX 3 Image Klein","icon":"image","pages":[{"title":"FLUX 3 Image Klein 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/flux-3-image-klein/generation"}]},{"group":"Hy-Image-3.5 Preview","icon":"image","pages":[{"title":"Hy-Image-3.5 Preview 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/hy-image-v3.5-preview/generation"}]},{"group":"Muse Image Ext","icon":"image","pages":[{"title":"Muse Image Ext 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/muse-image-ext/generation"}]},{"group":"MAI-Image-2.6","icon":"image","pages":[{"title":"MAI-Image-2.6 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/mai-image-2.6/generation"}]},{"group":"Qwen Image 2.0","icon":"image","pages":[{"title":"Qwen Image 2.0 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/qwen-image/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Qwen Image 3.0 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Z-Image-Turbo","icon":"image","pages":[{"title":"Z-Image-Turbo 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/grok-imagine/generation"}]},{"group":"Grok Imagine 2.0 Ext","icon":"image","pages":[{"title":"Grok Imagine 2.0 Ext 이미지 생성","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/grok-imagine-2.0-ext/generation"},{"title":"Grok Imagine 2.0 Ext 레이어 및 영역 편집","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/grok-imagine-2.0-ext/layer-region-edit"},{"title":"Grok Imagine Image 2.0 공식 이미지 생성 및 편집","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/grok-imagine-2.0-ext/official"}]},{"group":"wan2.7-image","icon":"image","pages":[{"title":"wan2.7 이미지 생성 및 편집","api":"POST https://api.apimart.ai/v1/images/generations","href":"/ko/api-reference/images/wan2.7-image/generation"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"Midjourney API 개요","href":"/ko/api-reference/images/midjourney/generation"},{"title":"Imagine (텍스트→이미지)","api":"POST https://api.apimart.ai/v1/midjourney/generations","href":"/ko/api-reference/images/midjourney/imagine"},{"title":"Blend (다중 이미지 블렌드)","api":"POST https://api.apimart.ai/v1/midjourney/generations/blend","href":"/ko/api-reference/images/midjourney/blend"},{"title":"Describe (이미지→텍스트)","api":"POST https://api.apimart.ai/v1/midjourney/generations/describe","href":"/ko/api-reference/images/midjourney/describe"},{"title":"Edits (이미지 편집)","api":"POST https://api.apimart.ai/v1/midjourney/generations/edits","href":"/ko/api-reference/images/midjourney/edits"},{"title":"Upscale (업스케일)","api":"POST https://api.apimart.ai/v1/midjourney/generations/upscale","href":"/ko/api-reference/images/midjourney/upscale"},{"title":"Variation (변형)","api":"POST https://api.apimart.ai/v1/midjourney/generations/variation","href":"/ko/api-reference/images/midjourney/variation"},{"title":"High Variation (강한 변형)","api":"POST https://api.apimart.ai/v1/midjourney/generations/high-variation","href":"/ko/api-reference/images/midjourney/high-variation"},{"title":"Low Variation (약한 변형)","api":"POST https://api.apimart.ai/v1/midjourney/generations/low-variation","href":"/ko/api-reference/images/midjourney/low-variation"},{"title":"Reroll (리롤)","api":"POST https://api.apimart.ai/v1/midjourney/generations/reroll","href":"/ko/api-reference/images/midjourney/reroll"},{"title":"Zoom (줌 아웃)","api":"POST https://api.apimart.ai/v1/midjourney/generations/zoom","href":"/ko/api-reference/images/midjourney/zoom"},{"title":"Pan (팬)","api":"POST https://api.apimart.ai/v1/midjourney/generations/pan","href":"/ko/api-reference/images/midjourney/pan"},{"title":"Inpaint (인페인트)","api":"POST https://api.apimart.ai/v1/midjourney/generations/inpaint","href":"/ko/api-reference/images/midjourney/inpaint"},{"title":"Modal (추가 파라미터 제출)","api":"POST https://api.apimart.ai/v1/midjourney/generations/modal","href":"/ko/api-reference/images/midjourney/modal"},{"title":"Video (이미지→동영상)","api":"POST https://api.apimart.ai/v1/midjourney/generations/video","href":"/ko/api-reference/images/midjourney/video"},{"title":"Remix (리셰이프, v8.1 / v8.2 전용)","api":"POST https://api.apimart.ai/v1/midjourney/generations/remix-strong","href":"/ko/api-reference/images/midjourney/remix"},{"title":"작업 조회","api":"GET https://api.apimart.ai/v1/midjourney/{task_id}","href":"/ko/api-reference/images/midjourney/query"},{"title":"모범 사례","href":"/ko/api-reference/images/midjourney/best-practices"},{"title":"전체 워크플로 예시","href":"/ko/api-reference/images/midjourney/workflow"}]}]},{"group":"비디오 시리즈","icon":"video","pages":[{"group":"seedance-1-0-pro","icon":"video","pages":[{"title":"seedance-1-0-pro 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/doubao/generation"}]},{"group":"seedance-1-5-pro","icon":"video","pages":[{"title":"seedance-1-5-pro 영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/seedance-1-5-pro/generation"}]},{"group":"seedance-2-0","icon":"video","pages":[{"title":"seedance-2.0 영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/seedance-2-0/generation"},{"title":"가상 아바타 에셋","api":"POST https://api.apimart.ai/v1/seedance2/private-avatar","href":"/ko/api-reference/videos/seedance-2-0/private-avatar"}]},{"group":"seedance-2-5","icon":"video","pages":[{"title":"seedance-2.5 Video Generation","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/seedance-2-5/generation"}]},{"group":"VEO3","icon":"video","pages":[{"title":"VEO3 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/veo3/generation"},{"title":"VEO3 비디오 리믹스","api":"POST https://api.apimart.ai/v1/videos/{task_id}/remix","href":"/ko/api-reference/videos/veo3/remix"},{"title":"VEO3 공식 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/veo3/generation-official"}]},{"group":"MiniMax-Hailuo-02","icon":"video","pages":[{"title":"MiniMax-Hailuo-02 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-hailuo/generation"}]},{"group":"MiniMax-Hailuo-2.3","icon":"video","pages":[{"title":"MiniMax-Hailuo-2.3 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","icon":"video","pages":[{"title":"MiniMax-H3 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-h3/generation"},{"title":"MiniMax-H3-Max 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-h3/max"},{"title":"MiniMax-H3 Context-IR 프롬프트 강화","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-h3/context-ir"},{"title":"MiniMax-H3 Regeneration","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/minimax-h3/regeneration"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"FLUX 3 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/flux-3-video/generation"}]},{"group":"SkyReels V4","icon":"video","pages":[{"title":"SkyReels V4 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/skyreels-v4/generation"}]},{"group":"HappyHorse","icon":"video","pages":[{"title":"HappyHorse 1.0 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/happyhorse-1.0/generation"},{"title":"HappyHorse 1.1 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/happyhorse-1.1/generation"}]},{"group":"Wan3.0","icon":"video","pages":[{"title":"Wan3.0 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan3.0-video/generation"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Wan2.7 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.7/generation"},{"title":"Wan2.7-R2V 참조 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.7-r2v/generation"},{"title":"Wan2.7-VideoEdit 동영상 편집","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.7-videoedit/generation"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Wan2.6 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.6/generation"},{"title":"wan2.6-i2v-flash 이미지-비디오","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.6/i2v-flash-generation"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"wan2.5-preview 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/wan2.5/generation"}]},{"group":"Kling 2.6","icon":"video","pages":[{"title":"Kling 2.6 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-v2-6/generation"},{"title":"Kling v2.6 Motion Control 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-v2-6/kling-v2-6-motion-control-generation"}]},{"group":"Kling v3","icon":"video","pages":[{"title":"Kling v3 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-v3/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Kling 3.0 Turbo 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Kling v3 Omni 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling V4","icon":"video","pages":[{"title":"Kling V4 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-v4/generation"}]},{"group":"Kling Video O1","icon":"video","pages":[{"title":"Kling Video O1 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/kling-video-o1/generation"}]},{"group":"Vidu Q3(pro/turbo)","icon":"video","pages":[{"title":"Vidu Q3(pro/turbo) 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/vidu-q3-pro/generation"}]},{"group":"Vidu Q4 Preview","icon":"video","pages":[{"title":"Vidu Q4 Preview 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/vidu-q4-preview/generation"}]},{"group":"Vidu Q3(mix/standard)","icon":"video","pages":[{"title":"Vidu Q3(mix/standard) 참조 이미지-투-비디오","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/vidu-q3/generation"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Grok Imagine 1.5 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/grok-imagine/generation"},{"title":"Grok 공식 비디오 모델","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/grok-imagine/official"}]},{"group":"Pixverse v6","icon":"video","pages":[{"title":"Pixverse v6 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/pixverse-v6/generation"}]},{"group":"PixVerse V6 Max","icon":"video","pages":[{"title":"PixVerse V6 Max 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/pixverse-v6-max/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Muse Video Ext 동영상 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/muse-video-ext/generation"}]},{"group":"gemini-omni-1.1-flash-ext","icon":"video","pages":[{"title":"gemini-omni-1.1-flash-ext 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/omni-flash-ext/generation"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Gemini Omni 1.1 Flash 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/gemini-omni-1.1-flash/generation"}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"title":"Gemini Omni Flash 비디오 생성","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/ko/api-reference/videos/gemini-omni-flash-preview/generation"}]}]},{"group":"오디오 시리즈","icon":"microphone","pages":[{"title":"Whisper-1 오디오 변환","api":"POST https://api.apimart.ai/v1/audio/transcriptions","href":"/ko/api-reference/audios/whisper-1"},{"title":"TTS 텍스트 음성 변환","api":"POST https://api.apimart.ai/v1/audio/speech","href":"/ko/api-reference/audios/tts"},{"group":"Flow Music","icon":"music","pages":[{"title":"음악 생성","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ko/api-reference/audios/flow-music/music"},{"title":"Lyria 3.5 음악 생성","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ko/api-reference/audios/flow-music/music-lyria-3-5"},{"title":"가사 생성","api":"POST https://api.apimart.ai/v1/music/generations/lyricsFlowMusic","href":"/ko/api-reference/audios/flow-music/lyrics"},{"title":"음악 연장","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/ko/api-reference/audios/flow-music/extend"},{"title":"Lyria 3.5 음악 연장","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/ko/api-reference/audios/flow-music/extend-lyria-3-5"},{"title":"구간 교체","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/ko/api-reference/audios/flow-music/replace"},{"title":"Lyria 3.5 구간 교체","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/ko/api-reference/audios/flow-music/replace-lyria-3-5"},{"title":"Cover 편곡","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/ko/api-reference/audios/flow-music/cover"},{"title":"Lyria 3.5 Cover 편곡","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/ko/api-reference/audios/flow-music/cover-lyria-3-5"},{"title":"음원 분리","api":"POST https://api.apimart.ai/v1/music/generations/stemsFlowMusic","href":"/ko/api-reference/audios/flow-music/stems"},{"title":"오디오 업로드","api":"POST https://api.apimart.ai/v1/music/generations/uploadAudioFlowMusic","href":"/ko/api-reference/audios/flow-music/upload-audio"},{"title":"오디오 다운로드","api":"POST https://api.apimart.ai/v1/music/generations/downloadAudioFlowMusic","href":"/ko/api-reference/audios/flow-music/download-audio"},{"title":"음악 비디오 렌더링","api":"POST https://api.apimart.ai/v1/music/generations/videoClipFlowMusic","href":"/ko/api-reference/audios/flow-music/video-clip"},{"title":"작업 조회","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ko/api-reference/audios/flow-music/query"}]},{"group":"Suno","icon":"music","pages":[{"title":"Suno V6 공통 규칙 및 작업 조회","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/ko/api-reference/audios/suno/overview"},{"title":"음악 생성","api":"POST https://api.apimart.ai/v1/music/generations","href":"/ko/api-reference/audios/suno/generation"},{"title":"가사 생성","api":"POST https://api.apimart.ai/v1/music/generations/lyrics","href":"/ko/api-reference/audios/suno/lyrics"},{"title":"영감 생성 (inspo)","api":"POST https://api.apimart.ai/v1/music/generations/inspo","href":"/ko/api-reference/audios/suno/inspo"},{"title":"음향 효과 생성","api":"POST https://api.apimart.ai/v1/music/generations/sounds","href":"/ko/api-reference/audios/suno/sounds"},{"title":"태그 강화","api":"POST https://api.apimart.ai/v1/music/generations/upsampleTags","href":"/ko/api-reference/audios/suno/upsample-tags"},{"title":"오디오 업로드","api":"POST https://api.apimart.ai/v1/music/generations/uploadTask","href":"/ko/api-reference/audios/suno/upload"},{"title":"오디오 업로드 및 커버 생성","api":"POST https://api.apimart.ai/v1/music/generations/uploadCover","href":"/ko/api-reference/audios/suno/upload-cover"},{"title":"오디오 업로드 및 연장","api":"POST https://api.apimart.ai/v1/music/generations/uploadExtend","href":"/ko/api-reference/audios/suno/upload-extend"},{"title":"사용자 지정 모델 생성","api":"POST https://api.apimart.ai/v1/music/generations/createModel","href":"/ko/api-reference/audios/suno/create-model"},{"title":"이어쓰기 연장","api":"POST https://api.apimart.ai/v1/music/generations/extend","href":"/ko/api-reference/audios/suno/extend"},{"title":"스타일 커버","api":"POST https://api.apimart.ai/v1/music/generations/coverSong","href":"/ko/api-reference/audios/suno/cover-song"},{"title":"마스터링","api":"POST https://api.apimart.ai/v1/music/generations/remaster","href":"/ko/api-reference/audios/suno/remaster"},{"title":"트랙 추출","api":"POST https://api.apimart.ai/v1/music/generations/stems","href":"/ko/api-reference/audios/suno/stems"},{"title":"전체 트랙 분리","api":"POST https://api.apimart.ai/v1/music/generations/stemsAll","href":"/ko/api-reference/audios/suno/stems-all"},{"title":"보컬 추가","api":"POST https://api.apimart.ai/v1/music/generations/addVocals","href":"/ko/api-reference/audios/suno/add-vocals"},{"title":"반주 추가","api":"POST https://api.apimart.ai/v1/music/generations/addInstrumental","href":"/ko/api-reference/audios/suno/add-instrumental"},{"title":"트랙 추가 (add stem)","api":"POST https://api.apimart.ai/v1/music/generations/addStem","href":"/ko/api-reference/audios/suno/add-stem"},{"title":"Vox 추출(지원 중단)","api":"POST https://api.apimart.ai/v1/music/generations/vox","href":"/ko/api-reference/audios/suno/vox"},{"title":"보이스 생성","api":"POST https://api.apimart.ai/v1/music/generations/createVoice","href":"/ko/api-reference/audios/suno/create-voice"},{"title":"Persona","api":"POST https://api.apimart.ai/v1/music/generations/persona","href":"/ko/api-reference/audios/suno/persona"},{"title":"구간 교체","api":"POST https://api.apimart.ai/v1/music/generations/replaceMusic","href":"/ko/api-reference/audios/suno/replace-music"},{"title":"구간 삭제","api":"POST https://api.apimart.ai/v1/music/generations/removeSection","href":"/ko/api-reference/audios/suno/remove-section"},{"title":"오디오 자르기","api":"POST https://api.apimart.ai/v1/music/generations/crop","href":"/ko/api-reference/audios/suno/crop"},{"title":"페이드 인","api":"POST https://api.apimart.ai/v1/music/generations/fadeIn","href":"/ko/api-reference/audios/suno/fade-in"},{"title":"페이드 아웃","api":"POST https://api.apimart.ai/v1/music/generations/fadeOut","href":"/ko/api-reference/audios/suno/fade-out"},{"title":"속도 조정","api":"POST https://api.apimart.ai/v1/music/generations/adjustSpeed","href":"/ko/api-reference/audios/suno/adjust-speed"},{"title":"완전한 곡 합성 / 이어붙이기","api":"POST https://api.apimart.ai/v1/music/generations/concat","href":"/ko/api-reference/audios/suno/concat"},{"title":"매시업 생성 (mashup)","api":"POST https://api.apimart.ai/v1/music/generations/mashup","href":"/ko/api-reference/audios/suno/mashup"},{"title":"샘플로 곡 생성 (sample)","api":"POST https://api.apimart.ai/v1/music/generations/sample","href":"/ko/api-reference/audios/suno/sample"},{"title":"MIDI 생성","api":"POST https://api.apimart.ai/v1/music/generations/midi","href":"/ko/api-reference/audios/suno/midi"},{"title":"가사 타임라인","api":"POST https://api.apimart.ai/v1/music/generations/alignedLyrics","href":"/ko/api-reference/audios/suno/aligned-lyrics"},{"title":"BPM 분석","api":"POST https://api.apimart.ai/v1/music/generations/bpm","href":"/ko/api-reference/audios/suno/bpm"},{"title":"뮤직비디오 생성 (MV)","api":"POST https://api.apimart.ai/v1/music/generations/generateMp4","href":"/ko/api-reference/audios/suno/generate-mp4"},{"title":"오디오 파일 다운로드","api":"POST https://api.apimart.ai/v1/music/generations/download","href":"/ko/api-reference/audios/suno/wav"}]}]},{"group":"모더레이션 시리즈","icon":"shield-check","pages":[{"group":"omni-moderation-latest","icon":"shield-check","pages":[{"title":"omni-moderation-latest 콘텐츠 모더레이션","api":"POST https://api.apimart.ai/v1/moderations","href":"/ko/api-reference/moderations/omni-moderation-latest/generation"}]}]},{"group":"업로드 관리","icon":"cloud-arrow-up","pages":[{"title":"이미지 업로드","api":"POST https://api.apimart.ai/v1/uploads/images","href":"/ko/api-reference/uploads/images"}]},{"group":"작업 관리","icon":"list-check","pages":[{"title":"작업 상태 조회","api":"GET https://api.apimart.ai/v1/tasks/{task_id}","href":"/ko/api-reference/tasks/status"},{"title":"작업 완료 콜백(Webhook)","href":"/ko/api-reference/tasks/webhook"}]},{"group":"계정 관리","icon":"wallet","pages":[{"title":"토큰 잔액 조회","api":"GET https://api.apimart.ai/v1/balance","href":"/ko/api-reference/account/token-balance"},{"title":"사용자 잔액 조회","api":"GET https://api.apimart.ai/v1/user/balance","href":"/ko/api-reference/account/user-balance"},{"title":"소비 사용량 조회","api":"GET https://api.apimart.ai/v1/usage","href":"/ko/api-reference/account/usage"}]}]},{"tab":"통합 가이드","pages":[{"title":"통합 가이드","href":"/ko/integrations/chat/chatbox"}]},{"tab":"가이드","pages":[{"title":"가이드","href":"/ko/quickstart"}]},{"tab":"자주 묻는 질문","pages":[{"title":"자주 묻는 질문","href":"/ko/faqs"}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/images/gpt-image-2.6/generation"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/images/gpt-image-2.6/generation"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/images/gpt-image-2.6/generation"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/images/gpt-image-2.6/generation"}]},{"language":"id","pages":[{"title":"id","href":"/id/api-reference/images/gpt-image-2.6/generation"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/images/gpt-image-2.6/generation"}]}]},"basePath":"","title":"GPT-Image-2.6 이미지 생성 - APIMart","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js"]}