Wajib untuk pembuatan dari teks maupun gambar. Opsional untuk pemisahan: model mengenali subjek, teks, dan latar secara otomatis. Anda juga dapat menjelaskan elemen yang ingin dipisahkan.
Maksimal 10 referensi untuk pembuatan, tepat 1 gambar untuk pemisahan. Mendukung URL gambar publik atau Data URI Base64 gambar. Unggah berkas lokal melalui API unggah gambar lalu gunakan url hasilnya.Gunakan URL http(s) yang dapat diakses publik atau data:image/<format>;base64,… dengan nama format huruf kecil dalam Data URI.
Mendukung JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, dan HEIF. AVIF serta JP2 tidak didukung.
Maksimal 30 MiB (31,457,280 byte) dan 36 juta total piksel per gambar. Hitung lebar × tinggi; bukan batas 6000 piksel untuk setiap sisi.
Batas ukuran atau piksel yang terlampaui menghasilkan HTTP 400 sinkron. AVIF dan JP2 dapat membuat tugas sebelum ditolak penyedia; tugas gagal dikembalikan biayanya. Konversikan format sebelum mengirim.
Endpoint unggah gambar memiliki batas format tersendiri. Untuk format yang didukung model tetapi tidak didukung endpoint unggah, gunakan URL publik atau Data URI.
Pembuatan: default 2K, mendukung tingkat resolusi, rasio, atau ukuran piksel tepat. Pemisahan: default auto, hanya 1K / 1.5K / 2K / auto.Untuk pembuatan gambar, size: "auto" berarti 2K. Rasio aspek tanpa resolution juga memakai 2K. Untuk dimensi piksel tepat, hilangkan resolution dan gunakan bilangan bulat positif untuk lebar serta tinggi.
Pada pembuatan, gunakan 1K / 1.5K / 2K bersama rasio pada size. Pada pemisahan, ini adalah alias platform untuk size: size didahulukan, resolution dipakai hanya jika size tidak dikirim, dan tanpa keduanya berlaku auto. Nilai yang diterima: 1K / 1.5K / 2K / auto. Rasio atau piksel ditolak secara sinkron dengan HTTP 400. Tidak mendukung 3K / 4K.
Pembuatan: auto (default), transparent, atau opaque. Transparansi tersedia untuk masukan teks maupun gambar. Wajib PNG, tidak boleh bersama output_format: "jpeg". Saat pemisahan, jangan kirim kolom ini, termasuk auto.
Hanya menerima {"mode":"standard"}. Jika dihilangkan, penyedia tetap mengaktifkan default standard; optimasi tidak dapat dimatikan pada Seedream 5.5. Penyedia menolak disabled / none / off dengan HTTP 400 dan must be one of: standard. Platform langsung menolak fast dengan HTTP 400.
true memisahkan masukan menjadi gambar dasar dan lapisan transparan. Memerlukan tepat satu gambar dan tanpa background. output_format hanya mengatur gambar dasar.
Boolean opsional. true meminta OCR dengan informasi gaya untuk lapisan teks. text_recognition hanya mungkin muncul untuk teks reguler yang dapat dikenali.Saat OCR aktif, menyertakan prompt dapat menyebabkan hasil pengenalan teks tidak dikembalikan. Jika OCR menjadi prioritas, coba hilangkan prompt pemisahan. Hasil tetap tidak dijamin; perlakukan kolom OCR sebagai opsional.
1K / 1.5K / 2K; default 2K. Model memilih rasio berdasarkan prompt.
Rasio + tingkat
"size": "16:9", "resolution": "1.5K"
Hanya pembuatan. Rasio tercantum di bawah; notasi 16x9 juga diterima.
Piksel tepat
"size": "2048x1152"
Hanya pembuatan. Total piksel 921.600–4.624.220; lebar/tinggi 1/16–16.
Rasio: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 2:1, 1:2.Batas berlaku pada luas piksel dan rasio. Pemisahan hanya menerima tingkat atau auto, bukan rasio atau ukuran piksel tepat.
Prioritas: size → resolution → auto. resolution adalah alias platform; penyedia hanya menerima size. size: "1K" bersama resolution: "2K" memakai 1K; hanya resolution: "1.5K" memakai 1.5K.
Dengan 1K / 1.5K / 2K, gambar dasar dan setiap lapisan dikeluarkan pada tingkat pilihan dengan rasio masing-masing tetap terjaga. Salah satu hasil pengukuran dasar 1K berukuran 840×1248, dan setiap lapisan juga sekitar 1,05 juta piksel. Ini contoh hasil, bukan ukuran tetap.
auto memakai ukuran asli masukan: masukan di bawah 1K diperbesar ke 1K, sedangkan di atas 2K diperkecil ke 2K.
curl --request POST \ --url https://api.apimart.ai/v1/images/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "seedream-5-5", "prompt": "Combine the product in the first image with the setting in the second image", "image_urls": ["https://example.com/product.png", "https://example.com/setting.jpg"], "size": "16:9", "resolution": "1.5K", "output_format": "png"}'
Permintaan ini menghasilkan maksimal 10 gambar termasuk gambar dasar. prompt opsional; jangan kirim background. Ganti URL dengan gambar yang dapat diakses.
Gunakan API status tugas setiap 3 detik selama 30 detik pertama, lalu setiap 5–10 detik. Pemisahan dapat memakan beberapa menit; server menunggu maksimal 13 menit. Simpan task_id dan periksa hingga status akhir tanpa mengirim ulang permintaan pembuatan.
Pada data.status, pending / processing berarti diproses dan completed berarti berhasil. Untuk failed, baca data.error.message; biaya dikembalikan otomatis. URL hasil ada di data.result.images[].url[].
Gambar hasil disimpan selama 3 hari; segera unduh. Catatan tugas juga hanya disimpan 3 hari, setelah itu tidak dapat diperiksa melalui task_id.data.result.images[].expires_at saat ini mengembalikan timestamp Unix dalam detik sebesar waktu tugas selesai + 24 jam. Ini adalah penanda konservatif yang lebih awal daripada penghapusan sebenarnya. Jangan gunakan untuk menghitung masa penyimpanan aktual atau hitung mundur penghapusan.
Dalam setiap data.result.images[], url, sizes, output_formats, backgrounds, dan layers berkorespondensi berdasarkan indeks. Array metadata dapat dihilangkan jika panjangnya tidak sama dengan url.
Kolom
Keterangan
url[]
URL gambar. Pada mode lapisan, indeks 0 adalah gambar dasar, diikuti lapisan. Segera unduh dan simpan berkas.
sizes[] / output_formats[]
Ukuran dan format aktual setiap gambar.
backgrounds[]
Latar aktual: opaque / transparent. Gunakan nilai ini untuk background: "auto".
expires_at
Saat ini berupa timestamp Unix sebesar waktu tugas selesai + 24 jam (86400 detik). Penanda konservatif ini bukan waktu penghapusan gambar yang sebenarnya; jangan gunakan untuk hitung mundur penghapusan.
layer_decomposition
Apakah hasil berasal dari pemisahan lapisan.
layers[i].z_index
Urutan tumpukan: gambar dasar bernilai 0; susun dengan urutan menaik.
layers[i].background
Dasar: opaque; lapisan hasil: transparent.
layers[i].name / description
Nama dan deskripsi lapisan opsional.
layers[i].bounding_box
absolute: [left, top, right, bottom] dalam piksel gambar dasar. normalized: kotak yang sama dinormalisasi ke 0–1000. Tidak ada pada gambar dasar.
layers[i].text_recognition
Mungkin ada jika OCR aktif dan teks reguler dikenali; tidak ada untuk huruf artistik, tulisan tangan, atau lapisan bukan teks.
Koordinat absolut: x=left, y=top, w=right-left, h=bottom-top. Untuk kanvas W × H, konversikan koordinat ternormalisasi sebagai berikut:
x = left / 1000 * Wy = top / 1000 * Hw = (right - left) / 1000 * Wh = (bottom - top) / 1000 * H
Ukuran setiap berkas lapisan ditentukan sendiri pada tingkat pilihan dan dapat berbeda dari bounding_box. Untuk menyusun, ubah ukurannya menjadi w × h, lalu tempatkan di (x, y). Jangan langsung memakai piksel berkas lapisan sebagai koordinat gambar dasar.
Penanda gaya boolean yang diperkirakan model; dapat tidak akurat.
OCR dan informasi font membantu tampilan, penyalinan, atau penyuntingan, tetapi dapat berbeda dari aslinya. Gambar lapisan tetap dapat digunakan tanpa OCR.
Gambar keluaran dan referensi masukan ditagih terpisah. Setiap referensi dikenakan biaya, termasuk yang pertama serta satu gambar masukan untuk pemisahan lapisan.
Setiap keluaran memakai jumlah piksel aktual: hingga 2,610,000 piksel termasuk batasnya memakai tarif rendah; lebih besar memakai tarif tinggi. 1K / 1.5K masuk tarif rendah, 2K tarif tinggi. Dimensi tepat dihitung dari lebar × tinggi.
Pembuatan gambar mencadangkan tarif keluaran yang dipilih ditambah jumlah referensi × harga masukan. Tanpa size atau dengan auto, cadangan memakai 2K.
Pemisahan mencadangkan max_images × tarif keluaran ditambah biaya satu gambar masukan. Default max_images adalah 30 termasuk dasar; keluaran aktual bisa lebih sedikit.
Pemisahan memakai size yang berlaku, atau resolution jika tidak ada: 1K / 1.5K mencadangkan tarif rendah; 2K / auto tarif tinggi. Tanpa keduanya, berlaku auto dengan cadangan tarif tinggi.
Penyelesaian tagihan memakai jumlah keluaran aktual, tarif piksel setiap gambar, dan jumlah masukan; selisih dikembalikan atau ditagih. Dasar dan setiap lapisan dihitung sendiri, bukan semua mengikuti tarif yang diminta tanpa memeriksa piksel aktual. Tugas gagal mendapat pengembalian penuh.
Saat data.status bernilai failed, baca data.error.message dan data.error.reason. Biaya dikembalikan otomatis. Jika reason tidak ada atau tidak dikenal, gunakan message sebagai pesan cadangan.
data.error.reason
Tindakan
content_policy_violation
Masukan atau keluaran gagal pemeriksaan konten. Ubah prompt atau gambar.
invalid_parameter / unsupported_option
Parameter atau kombinasi tidak didukung. Sesuaikan permintaan.
invalid_media
Gambar rusak atau format tidak didukung. Periksa dan konversikan.
media_unreachable
URL gambar tidak dapat diakses. Periksa akses publik atau unggah ulang.
generation_timeout
Pembuatan melewati batas waktu. Coba lagi nanti.
service_unavailable
Layanan sementara sibuk. Coba lagi nanti.
delivery_failed / internal_error / unknown_error
Kesalahan pengiriman atau internal platform. Ikuti pesan yang dikembalikan dan coba lagi nanti.
{"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"},"entitlements":{},"buildId":"6af57dd6043c55511fa5398d","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"zh-Hans","tag":"API 手册","count":175},{"language":"de","tag":"API-Handbuch","count":175},{"language":"en","tag":"API Manual","count":175},{"language":"es","tag":"Manual de la API","count":175},{"language":"fr","tag":"Manuel API","count":175},{"language":"id","tag":"Panduan API","count":175},{"language":"ja","tag":"APIマニュアル","count":175},{"language":"ko","tag":"API 매뉴얼","count":175},{"language":"pt","tag":"Manual da API","count":175},{"language":"ru","tag":"Руководство API","count":175},{"language":"zh-Hans","tag":"图像系列","count":55},{"language":"de","tag":"Bildserie","count":55},{"language":"en","tag":"Image Series","count":55},{"language":"es","tag":"Serie de imágenes","count":55},{"language":"fr","tag":"Série Image","count":55},{"language":"id","tag":"Seri Gambar","count":55},{"language":"ja","tag":"画像シリーズ","count":55},{"language":"ko","tag":"이미지 시리즈","count":55},{"language":"pt","tag":"Série de Imagem","count":55},{"language":"ru","tag":"Серия изображений","count":55},{"language":"zh-Hans","tag":"音频系列","count":51},{"language":"de","tag":"Audioserie","count":51},{"language":"en","tag":"Audio Series","count":51},{"language":"es","tag":"Serie de audio","count":51},{"language":"fr","tag":"Série Audio","count":51},{"language":"id","tag":"Seri Audio","count":51},{"language":"ja","tag":"オーディオシリーズ","count":51},{"language":"ko","tag":"오디오 시리즈","count":51},{"language":"pt","tag":"Série de Áudio","count":51},{"language":"ru","tag":"Аудиосерия","count":51},{"language":"zh-Hans","tag":"视频系列","count":47},{"language":"de","tag":"Videoserie","count":47},{"language":"en","tag":"Video Series","count":47},{"language":"es","tag":"Serie de video","count":47},{"language":"fr","tag":"Série Vidéo","count":47},{"language":"id","tag":"Seri Video","count":47},{"language":"ja","tag":"動画シリーズ","count":47},{"language":"ko","tag":"비디오 시리즈","count":47},{"language":"pt","tag":"Série de Vídeo","count":47},{"language":"ru","tag":"Видеосерия","count":47},{"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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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":"id/api-reference/images/seedream-5-5/generation","slug":"/id/api-reference/images/seedream-5-5/generation","pageMetadata":{"title":"Pembuatan Gambar Seedream 5.5","description":"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-5/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: \"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\"\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:[`Kirim ke `,_jsx(_components.code,{children:`POST /v1/images/generations`}),`, simpan `,_jsx(_components.code,{children:`data[0].task_id`}),`, lalu periksa `,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mode`,children:`Mode`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Pengaturan`}),_jsx(_components.th,{children:`Gambar masukan`}),_jsx(_components.th,{children:`Prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pembuatan gambar`}),_jsx(_components.td,{children:`Default`}),_jsx(_components.td,{children:`0–10`}),_jsx(_components.td,{children:`Wajib`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pemisahan lapisan`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition: true`})}),_jsx(_components.td,{children:`Tepat 1`}),_jsx(_components.td,{children:`Opsional`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`autentikasi`,children:`Autentikasi`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),`, dengan `,_jsx(_components.code,{children:`\u003ctoken>`}),` berupa APIMart API Key Anda.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`parameter-permintaan`,children:`Parameter permintaan`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.code,{children:`seedream-5-5`}),`.`]})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`Wajib untuk pembuatan dari teks maupun gambar. Opsional untuk pemisahan: model mengenali subjek, teks, dan latar secara otomatis. Anda juga dapat menjelaskan elemen yang ingin dipisahkan.`})}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[`Maksimal 10 referensi untuk pembuatan, tepat 1 gambar untuk pemisahan. Mendukung URL gambar publik atau Data URI Base64 gambar. Unggah berkas lokal melalui `,_jsx(_components.a,{href:`/id/api-reference/uploads/images`,children:`API unggah gambar`}),` lalu gunakan `,_jsx(_components.code,{children:`url`}),` hasilnya.`]}),_jsxs(_components.p,{children:[`Gunakan URL `,_jsx(_components.code,{children:`http(s)`}),` yang dapat diakses publik atau `,_jsx(_components.code,{children:`data:image/\u003cformat>;base64,…`}),` dengan nama format huruf kecil dalam Data URI.`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Mendukung JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, dan HEIF. AVIF serta JP2 tidak didukung.`}),`\n`,_jsxs(_components.li,{children:[`Maksimal `,_jsx(_components.strong,{children:`30 MiB (31,457,280 byte)`}),` dan `,_jsx(_components.strong,{children:`36 juta total piksel`}),` per gambar. Hitung lebar × tinggi; bukan batas 6000 piksel untuk setiap sisi.`]}),`\n`,_jsx(_components.li,{children:`Batas ukuran atau piksel yang terlampaui menghasilkan HTTP 400 sinkron. AVIF dan JP2 dapat membuat tugas sebelum ditolak penyedia; tugas gagal dikembalikan biayanya. Konversikan format sebelum mengirim.`}),`\n`]}),_jsx(_components.p,{children:`Endpoint unggah gambar memiliki batas format tersendiri. Untuk format yang didukung model tetapi tidak didukung endpoint unggah, gunakan URL publik atau Data URI.`})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,id:`param-size`,children:[_jsxs(_components.p,{children:[`Pembuatan: default `,_jsx(_components.code,{children:`2K`}),`, mendukung tingkat resolusi, rasio, atau ukuran piksel tepat. Pemisahan: default `,_jsx(_components.code,{children:`auto`}),`, hanya `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`.`]}),_jsxs(_components.p,{children:[`Untuk pembuatan gambar, `,_jsx(_components.code,{children:`size: \"auto\"`}),` berarti `,_jsx(_components.code,{children:`2K`}),`. Rasio aspek tanpa `,_jsx(_components.code,{children:`resolution`}),` juga memakai `,_jsx(_components.code,{children:`2K`}),`. Untuk dimensi piksel tepat, hilangkan `,_jsx(_components.code,{children:`resolution`}),` dan gunakan bilangan bulat positif untuk lebar serta tinggi.`]})]}),`\n`,_jsx(ParamField,{body:`resolution`,type:`string`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`Pada pembuatan, gunakan `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` bersama rasio pada `,_jsx(_components.code,{children:`size`}),`. Pada pemisahan, ini adalah alias platform untuk `,_jsx(_components.code,{children:`size`}),`: `,_jsx(_components.code,{children:`size`}),` didahulukan, `,_jsx(_components.code,{children:`resolution`}),` dipakai hanya jika `,_jsx(_components.code,{children:`size`}),` tidak dikirim, dan tanpa keduanya berlaku `,_jsx(_components.code,{children:`auto`}),`. Nilai yang diterima: `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`. Rasio atau piksel ditolak secara sinkron dengan HTTP 400. Tidak mendukung `,_jsx(_components.code,{children:`3K`}),` / `,_jsx(_components.code,{children:`4K`}),`.`]})}),`\n`,_jsx(ParamField,{body:`background`,type:`string`,id:`param-background`,children:_jsxs(_components.p,{children:[`Pembuatan: `,_jsx(_components.code,{children:`auto`}),` (default), `,_jsx(_components.code,{children:`transparent`}),`, atau `,_jsx(_components.code,{children:`opaque`}),`. Transparansi tersedia untuk masukan teks maupun gambar. Wajib PNG, tidak boleh bersama `,_jsx(_components.code,{children:`output_format: \"jpeg\"`}),`. Saat pemisahan, jangan kirim kolom ini, termasuk `,_jsx(_components.code,{children:`auto`}),`.`]})}),`\n`,_jsx(ParamField,{body:`output_format`,type:`string`,default:`png`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`png`}),` (default) atau `,_jsx(_components.code,{children:`jpeg`}),`. Saat pemisahan hanya mengatur gambar dasar; lapisan hasil selalu berupa PNG transparan.`]})}),`\n`,_jsx(ParamField,{body:`n`,type:`integer`,id:`param-n`,children:_jsxs(_components.p,{children:[`Hanya `,_jsx(_components.code,{children:`1`}),`. Pembuatan menghasilkan satu gambar per permintaan. Atur jumlah hasil pemisahan melalui `,_jsx(_components.code,{children:`layer_decomposition_options.max_images`}),`.`]})}),`\n`,_jsx(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:_jsx(_components.p,{children:`Penanda opsional untuk menambahkan tanda air.`})}),`\n`,_jsx(ParamField,{body:`optimize_prompt_options`,type:`object`,id:`param-optimize-prompt-options`,children:_jsxs(_components.p,{children:[`Hanya menerima `,_jsx(_components.code,{children:`{\"mode\":\"standard\"}`}),`. Jika dihilangkan, penyedia tetap mengaktifkan default `,_jsx(_components.code,{children:`standard`}),`; optimasi tidak dapat dimatikan pada Seedream 5.5. Penyedia menolak `,_jsx(_components.code,{children:`disabled`}),` / `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`off`}),` dengan HTTP 400 dan `,_jsx(_components.code,{children:`must be one of: standard`}),`. Platform langsung menolak `,_jsx(_components.code,{children:`fast`}),` dengan HTTP 400.`]})}),`\n`,_jsx(ParamField,{body:`layer_decomposition`,type:`boolean`,id:`param-layer-decomposition`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` memisahkan masukan menjadi gambar dasar dan lapisan transparan. Memerlukan tepat satu gambar dan tanpa `,_jsx(_components.code,{children:`background`}),`. `,_jsx(_components.code,{children:`output_format`}),` hanya mengatur gambar dasar.`]})}),`\n`,_jsxs(ParamField,{body:`layer_decomposition_options`,type:`object`,id:`param-layer-decomposition-options`,children:[_jsxs(_components.p,{children:[`Hanya bersama `,_jsx(_components.code,{children:`layer_decomposition: true`}),`; selain itu HTTP 400.`]}),_jsxs(Expandable,{title:`Parameter permintaan`,children:[_jsx(ParamField,{body:`max_images`,type:`integer`,default:`30`,id:`param-max-images`,children:_jsxs(_components.p,{children:[`Bilangan bulat `,_jsx(_components.code,{children:`2`}),`–`,_jsx(_components.code,{children:`100`}),`, default `,_jsx(_components.code,{children:`30`}),`. Batas total gambar keluaran termasuk gambar dasar, bukan jumlah yang dijamin.`]})}),_jsxs(ParamField,{body:`text_recognition`,type:`boolean`,default:`false`,id:`param-text-recognition`,children:[_jsxs(_components.p,{children:[`Boolean opsional. `,_jsx(_components.code,{children:`true`}),` meminta OCR dengan informasi gaya untuk lapisan teks. `,_jsx(_components.code,{children:`text_recognition`}),` hanya mungkin muncul untuk teks reguler yang dapat dikenali.`]}),_jsxs(_components.p,{children:[`Saat OCR aktif, menyertakan `,_jsx(_components.code,{children:`prompt`}),` dapat menyebabkan hasil pengenalan teks tidak dikembalikan. Jika OCR menjadi prioritas, coba hilangkan prompt pemisahan. Hasil tetap tidak dijamin; perlakukan kolom OCR sebagai opsional.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`format-ukuran`,children:`Format ukuran`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Contoh`}),_jsx(_components.th,{children:`Aturan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tingkat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"2K\"`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),`; default `,_jsx(_components.code,{children:`2K`}),`. Model memilih rasio berdasarkan prompt.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rasio + tingkat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"16:9\", \"resolution\": \"1.5K\"`})}),_jsxs(_components.td,{children:[`Hanya pembuatan. Rasio tercantum di bawah; notasi `,_jsx(_components.code,{children:`16x9`}),` juga diterima.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Piksel tepat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"2048x1152\"`})}),_jsx(_components.td,{children:`Hanya pembuatan. Total piksel 921.600–4.624.220; lebar/tinggi 1/16–16.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Rasio: `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`3:2`}),`, `,_jsx(_components.code,{children:`2:3`}),`, `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`2:1`}),`, `,_jsx(_components.code,{children:`1:2`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Batas berlaku pada luas piksel dan rasio. Pemisahan hanya menerima tingkat atau `,_jsx(_components.code,{children:`auto`}),`, bukan rasio atau ukuran piksel tepat.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ukuran-keluaran-pemisahan`,children:`Ukuran keluaran pemisahan`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Prioritas: `,_jsx(_components.code,{children:`size`}),` → `,_jsx(_components.code,{children:`resolution`}),` → `,_jsx(_components.code,{children:`auto`}),`. `,_jsx(_components.code,{children:`resolution`}),` adalah alias platform; penyedia hanya menerima `,_jsx(_components.code,{children:`size`}),`. `,_jsx(_components.code,{children:`size: \"1K\"`}),` bersama `,_jsx(_components.code,{children:`resolution: \"2K\"`}),` memakai `,_jsx(_components.code,{children:`1K`}),`; hanya `,_jsx(_components.code,{children:`resolution: \"1.5K\"`}),` memakai `,_jsx(_components.code,{children:`1.5K`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Dengan `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),`, gambar dasar dan setiap lapisan dikeluarkan pada tingkat pilihan dengan rasio masing-masing tetap terjaga. Salah satu hasil pengukuran dasar `,_jsx(_components.code,{children:`1K`}),` berukuran `,_jsx(_components.code,{children:`840×1248`}),`, dan setiap lapisan juga sekitar 1,05 juta piksel. Ini contoh hasil, bukan ukuran tetap.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`auto`}),` memakai ukuran asli masukan: masukan di bawah `,_jsx(_components.code,{children:`1K`}),` diperbesar ke `,_jsx(_components.code,{children:`1K`}),`, sedangkan di atas `,_jsx(_components.code,{children:`2K`}),` diperkecil ke `,_jsx(_components.code,{children:`2K`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`contoh-permintaan`,children:`Contoh permintaan`}),`\n`,_jsx(Heading,{level:`3`,id:`penyuntingan-dan-penggabungan-referensi`,children:`Penyuntingan dan penggabungan referensi`}),`\n`,_jsx(CodeBlock,{filename:``,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\": \"seedream-5-5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Combine the product in the first image with the setting in the second image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/product.png\", \"https://example.com/setting.jpg\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1.5K\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`pemisahan-lapisan-dan-ocr`,children:`Pemisahan lapisan dan OCR`}),`\n`,_jsxs(_components.p,{children:[`Permintaan ini menghasilkan maksimal 10 gambar termasuk gambar dasar. `,_jsx(_components.code,{children:`prompt`}),` opsional; jangan kirim `,_jsx(_components.code,{children:`background`}),`. Ganti URL dengan gambar yang dapat diakses.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,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\": \"seedream-5-5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/poster.png\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"layer_decomposition\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"layer_decomposition_options\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_images\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text_recognition\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"size\": \"1K\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`memeriksa-tugas`,children:`Memeriksa tugas`}),`\n`,_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`API status tugas`}),` setiap 3 detik selama 30 detik pertama, lalu setiap 5–10 detik. Pemisahan dapat memakan beberapa menit; server menunggu maksimal 13 menit. Simpan `,_jsx(_components.code,{children:`task_id`}),` dan periksa hingga status akhir tanpa mengirim ulang permintaan pembuatan.`]}),`\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_example_seedream55'`}),_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:[`Pada `,_jsx(_components.code,{children:`data.status`}),`, `,_jsx(_components.code,{children:`pending`}),` / `,_jsx(_components.code,{children:`processing`}),` berarti diproses dan `,_jsx(_components.code,{children:`completed`}),` berarti berhasil. Untuk `,_jsx(_components.code,{children:`failed`}),`, baca `,_jsx(_components.code,{children:`data.error.message`}),`; biaya dikembalikan otomatis. URL hasil ada di `,_jsx(_components.code,{children:`data.result.images[].url[]`}),`.`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Gambar hasil disimpan selama `,_jsx(_components.strong,{children:`3 hari`}),`; segera unduh. Catatan tugas juga hanya disimpan 3 hari, setelah itu tidak dapat diperiksa melalui `,_jsx(_components.code,{children:`task_id`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`data.result.images[].expires_at`}),` saat ini mengembalikan timestamp Unix dalam detik sebesar waktu tugas selesai + 24 jam. Ini adalah penanda konservatif yang lebih awal daripada penghapusan sebenarnya. Jangan gunakan untuk menghitung masa penyimpanan aktual atau hitung mundur penghapusan.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`hasil-lapisan-dan-ocr`,children:`Hasil lapisan dan OCR`}),`\n`,_jsx(_components.p,{children:`Contoh ini menunjukkan struktur, bukan rekaman eksekusi model. Ukuran, koordinat, dan teks hanya ilustrasi. Metadata dapat tidak tersedia.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`67`,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:`67`,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_example_seedream55\"`}),_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:` \"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794302642`}),_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:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/base.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/title.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:` \"sizes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"840x1248\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1512x702\"`}),_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_formats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"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:` \"backgrounds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794389042`}),_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:` \"layer_decomposition\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"layers\"`}),_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:` \"z_index\"`}),_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:`,`})]}),`\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:`\"840x1248\"`}),_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:`\"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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque\"`})]}),`\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:` \"z_index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`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:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1512x702\"`}),_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:`\"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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sale title\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Printed sale title\"`}),_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:` \"bounding_box\"`}),_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:` \"absolute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`84`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`156`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`756`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`}),_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:` \"normalized\"`}),_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:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`125`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`900`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`375`}),_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:` \"text_recognition\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUMMER SALE\"`}),_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:` \"lines\"`}),_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:` \"bounding_box\"`}),_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:` \"absolute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`126`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`156`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`714`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`}),_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:` \"normalized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`125`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`850`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`375`}),_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:` \"runs\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUMMER SALE\"`}),_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:` \"style\"`}),_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:` \"similar_font_family\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Arial\"`}),_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:` \"foreground_color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#222222\"`}),_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:` \"bold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"italic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"underline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikethrough\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shadow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"translucent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\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`,_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Dalam setiap `,_jsx(_components.code,{children:`data.result.images[]`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`sizes`}),`, `,_jsx(_components.code,{children:`output_formats`}),`, `,_jsx(_components.code,{children:`backgrounds`}),`, dan `,_jsx(_components.code,{children:`layers`}),` berkorespondensi berdasarkan indeks. Array metadata dapat dihilangkan jika panjangnya tidak sama dengan `,_jsx(_components.code,{children:`url`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kolom`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url[]`})}),_jsx(_components.td,{children:`URL gambar. Pada mode lapisan, indeks 0 adalah gambar dasar, diikuti lapisan. Segera unduh dan simpan berkas.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sizes[]`}),` / `,_jsx(_components.code,{children:`output_formats[]`})]}),_jsx(_components.td,{children:`Ukuran dan format aktual setiap gambar.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backgrounds[]`})}),_jsxs(_components.td,{children:[`Latar aktual: `,_jsx(_components.code,{children:`opaque`}),` / `,_jsx(_components.code,{children:`transparent`}),`. Gunakan nilai ini untuk `,_jsx(_components.code,{children:`background: \"auto\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expires_at`})}),_jsx(_components.td,{children:`Saat ini berupa timestamp Unix sebesar waktu tugas selesai + 24 jam (86400 detik). Penanda konservatif ini bukan waktu penghapusan gambar yang sebenarnya; jangan gunakan untuk hitung mundur penghapusan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition`})}),_jsx(_components.td,{children:`Apakah hasil berasal dari pemisahan lapisan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].z_index`})}),_jsx(_components.td,{children:`Urutan tumpukan: gambar dasar bernilai 0; susun dengan urutan menaik.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].background`})}),_jsxs(_components.td,{children:[`Dasar: `,_jsx(_components.code,{children:`opaque`}),`; lapisan hasil: `,_jsx(_components.code,{children:`transparent`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`layers[i].name`}),` / `,_jsx(_components.code,{children:`description`})]}),_jsx(_components.td,{children:`Nama dan deskripsi lapisan opsional.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].bounding_box`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`absolute`}),`: `,_jsx(_components.code,{children:`[left, top, right, bottom]`}),` dalam piksel gambar dasar. `,_jsx(_components.code,{children:`normalized`}),`: kotak yang sama dinormalisasi ke 0–1000. Tidak ada pada gambar dasar.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].text_recognition`})}),_jsx(_components.td,{children:`Mungkin ada jika OCR aktif dan teks reguler dikenali; tidak ada untuk huruf artistik, tulisan tangan, atau lapisan bukan teks.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Koordinat absolut: `,_jsx(_components.code,{children:`x=left`}),`, `,_jsx(_components.code,{children:`y=top`}),`, `,_jsx(_components.code,{children:`w=right-left`}),`, `,_jsx(_components.code,{children:`h=bottom-top`}),`. Untuk kanvas `,_jsx(_components.code,{children:`W × H`}),`, konversikan koordinat ternormalisasi sebagai berikut:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`x = left / 1000 * W`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`y = top / 1000 * H`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`w = (right - left) / 1000 * W`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`h = (bottom - top) / 1000 * H`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Ukuran setiap berkas lapisan ditentukan sendiri pada tingkat pilihan dan dapat berbeda dari `,_jsx(_components.code,{children:`bounding_box`}),`. Untuk menyusun, ubah ukurannya menjadi `,_jsx(_components.code,{children:`w × h`}),`, lalu tempatkan di `,_jsx(_components.code,{children:`(x, y)`}),`. Jangan langsung memakai piksel berkas lapisan sebagai koordinat gambar dasar.`]}),`\n`,_jsx(Heading,{level:`3`,id:`kolom-pengenalan-teks`,children:`Kolom pengenalan teks`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`text_recognition`}),` mengikuti struktur OCR model penyedia. Platform meneruskan kolom seperti `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`lines`}),`, `,_jsx(_components.code,{children:`runs`}),`, dan `,_jsx(_components.code,{children:`style`}),` tanpa perubahan.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kolom`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsxs(_components.td,{children:[`Teks lengkap lapisan, baris dipisahkan dengan `,_jsx(_components.code,{children:`\\\\n`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lines[].bounding_box`})}),_jsx(_components.td,{children:`Kotak baris dalam koordinat gambar dasar.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lines[].runs[]`})}),_jsxs(_components.td,{children:[`Potongan teks dengan gaya berbeda dalam satu baris, masing-masing berisi `,_jsx(_components.code,{children:`text`}),` dan `,_jsx(_components.code,{children:`style`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`runs[].style.similar_font_family`})}),_jsxs(_components.td,{children:[`Font terdekat yang dikenali, atau `,_jsx(_components.code,{children:`unknown`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`runs[].style.foreground_color`})}),_jsxs(_components.td,{children:[`Warna teks dalam format `,_jsx(_components.code,{children:`#RRGGBB`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`runs[].style.bold`}),` / `,_jsx(_components.code,{children:`italic`}),` / `,_jsx(_components.code,{children:`underline`}),` / `,_jsx(_components.code,{children:`strikethrough`}),` / `,_jsx(_components.code,{children:`shadow`}),` / `,_jsx(_components.code,{children:`translucent`})]}),_jsx(_components.td,{children:`Penanda gaya boolean yang diperkirakan model; dapat tidak akurat.`})]})]})]}),`\n`,_jsx(_components.p,{children:`OCR dan informasi font membantu tampilan, penyalinan, atau penyuntingan, tetapi dapat berbeda dari aslinya. Gambar lapisan tetap dapat digunakan tanpa OCR.`}),`\n`,_jsx(Heading,{level:`2`,id:`penagihan`,children:`Penagihan`}),`\n`,_jsxs(_components.p,{children:[`Gambar keluaran dan referensi masukan ditagih terpisah. `,_jsx(_components.strong,{children:`Setiap referensi dikenakan biaya, termasuk yang pertama`}),` serta satu gambar masukan untuk pemisahan lapisan.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Setiap keluaran memakai jumlah piksel aktual: hingga `,_jsx(_components.strong,{children:`2,610,000`}),` piksel termasuk batasnya memakai tarif rendah; lebih besar memakai tarif tinggi. `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` masuk tarif rendah, `,_jsx(_components.code,{children:`2K`}),` tarif tinggi. Dimensi tepat dihitung dari lebar × tinggi.`]}),`\n`,_jsxs(_components.li,{children:[`Pembuatan gambar mencadangkan tarif keluaran yang dipilih ditambah jumlah referensi × harga masukan. Tanpa `,_jsx(_components.code,{children:`size`}),` atau dengan `,_jsx(_components.code,{children:`auto`}),`, cadangan memakai `,_jsx(_components.code,{children:`2K`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Pemisahan mencadangkan `,_jsx(_components.code,{children:`max_images`}),` × tarif keluaran `,_jsx(_components.strong,{children:`ditambah biaya satu gambar masukan`}),`. Default `,_jsx(_components.code,{children:`max_images`}),` adalah 30 termasuk dasar; keluaran aktual bisa lebih sedikit.`]}),`\n`,_jsxs(_components.li,{children:[`Pemisahan memakai `,_jsx(_components.code,{children:`size`}),` yang berlaku, atau `,_jsx(_components.code,{children:`resolution`}),` jika tidak ada: `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` mencadangkan tarif rendah; `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),` tarif tinggi. Tanpa keduanya, berlaku `,_jsx(_components.code,{children:`auto`}),` dengan cadangan tarif tinggi.`]}),`\n`,_jsx(_components.li,{children:`Penyelesaian tagihan memakai jumlah keluaran aktual, tarif piksel setiap gambar, dan jumlah masukan; selisih dikembalikan atau ditagih. Dasar dan setiap lapisan dihitung sendiri, bukan semua mengikuti tarif yang diminta tanpa memeriksa piksel aktual. Tugas gagal mendapat pengembalian penuh.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Lihat `,_jsx(_components.a,{href:`https://apimart.ai/pricing`,children:`harga model`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`kesalahan-parameter-umum`,children:`Kesalahan parameter umum`}),`\n`,_jsxs(_components.p,{children:[`Mencakup validasi platform dan penyedia. Baca `,_jsx(_components.code,{children:`error.message`}),` untuk kegagalan pengiriman dan `,_jsx(_components.code,{children:`data.error.message`}),` untuk kegagalan tugas asinkron.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Cuplikan kesalahan`}),_jsx(_components.th,{children:`Solusi`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`does not support optimize_prompt_options.mode=fast`})}),_jsxs(_components.td,{children:[`Platform mengembalikan HTTP 400 secara sinkron. Hanya `,_jsx(_components.code,{children:`standard`}),`; menghilangkannya juga tetap mengaktifkan optimasi.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`must be one of: standard`})}),_jsxs(_components.td,{children:[`HTTP 400 dari penyedia: `,_jsx(_components.code,{children:`disabled`}),` / `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`off`}),` tidak didukung; optimasi tidak dapat dimatikan.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`only supports background auto, transparent or opaque`})}),_jsxs(_components.td,{children:[`Gunakan `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`transparent`}),`, atau `,_jsx(_components.code,{children:`opaque`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cannot combine background=transparent with output_format=jpeg`})}),_jsxs(_components.td,{children:[`Gunakan `,_jsx(_components.code,{children:`output_format: \"png\"`}),` untuk transparansi.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`does not accept background when layer_decomposition=true`})}),_jsxs(_components.td,{children:[`Hapus `,_jsx(_components.code,{children:`background`}),`, termasuk `,_jsx(_components.code,{children:`auto`}),`, pada pemisahan.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition_options requires layer_decomposition=true`})}),_jsx(_components.td,{children:`Kirim objek ini hanya pada mode pemisahan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition_options.max_images must be within [2, 100]`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`max_images`}),`: bilangan bulat 2–100, termasuk gambar dasar.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid layer_decomposition_options`})}),_jsxs(_components.td,{children:[`Gunakan bilangan bulat untuk `,_jsx(_components.code,{children:`max_images`}),`, bukan string atau desimal; boolean untuk `,_jsx(_components.code,{children:`text_recognition`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`with layer_decomposition=true requires exactly 1 input image`})}),_jsx(_components.td,{children:`Berikan tepat satu gambar untuk pemisahan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`only supports size 1K, 1.5K, 2K or auto`})}),_jsxs(_components.td,{children:[`Pemisahan memakai `,_jsx(_components.code,{children:`size`}),` dahulu, jika tidak ada memakai `,_jsx(_components.code,{children:`resolution`}),`. Hanya `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`; rasio atau piksel menghasilkan HTTP 400 secara sinkron.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`n` must be 1\"})}),_jsxs(_components.td,{children:[`Atur `,_jsx(_components.code,{children:`n`}),` ke `,_jsx(_components.code,{children:`1`}),`; pembuatan batch tidak didukung.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`does not support stream`}),` / `,_jsx(_components.code,{children:`does not support tools`})]}),_jsxs(_components.td,{children:[`Hapus `,_jsx(_components.code,{children:`sequential_image_generation`}),`, `,_jsx(_components.code,{children:`stream`}),`, dan `,_jsx(_components.code,{children:`tools`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`supports up to 10 reference images`})}),_jsx(_components.td,{children:`Berikan maksimal 10 gambar referensi.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference image too large for seedream-5-5`})}),_jsx(_components.td,{children:`Setiap referensi maksimal 30 MiB dan 36 juta total piksel. Kompres atau ubah ukurannya.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`does not support size`}),` / `,_jsx(_components.code,{children:`requires total pixels`}),` / `,_jsx(_components.code,{children:`requires aspect ratio`})]}),_jsx(_components.td,{children:`Periksa jumlah piksel, rasio aspek, dan notasi ukuran. 3K / 4K tidak didukung.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`prompt` parameter is required\"})}),_jsx(_components.td,{children:`Pembuatan gambar wajib memakai prompt. Hanya pemisahan lapisan yang boleh menghilangkannya.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`alasan-kegagalan-tugas`,children:`Alasan kegagalan tugas`}),`\n`,_jsxs(_components.p,{children:[`Saat `,_jsx(_components.code,{children:`data.status`}),` bernilai `,_jsx(_components.code,{children:`failed`}),`, baca `,_jsx(_components.code,{children:`data.error.message`}),` dan `,_jsx(_components.code,{children:`data.error.reason`}),`. Biaya dikembalikan otomatis. Jika `,_jsx(_components.code,{children:`reason`}),` tidak ada atau tidak dikenal, gunakan `,_jsx(_components.code,{children:`message`}),` sebagai pesan cadangan.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`data.error.reason`})}),_jsx(_components.th,{children:`Tindakan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`content_policy_violation`})}),_jsx(_components.td,{children:`Masukan atau keluaran gagal pemeriksaan konten. Ubah prompt atau gambar.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_parameter`}),` / `,_jsx(_components.code,{children:`unsupported_option`})]}),_jsx(_components.td,{children:`Parameter atau kombinasi tidak didukung. Sesuaikan permintaan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_media`})}),_jsx(_components.td,{children:`Gambar rusak atau format tidak didukung. Periksa dan konversikan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_unreachable`})}),_jsx(_components.td,{children:`URL gambar tidak dapat diakses. Periksa akses publik atau unggah ulang.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generation_timeout`})}),_jsx(_components.td,{children:`Pembuatan melewati batas waktu. Coba lagi nanti.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_unavailable`})}),_jsx(_components.td,{children:`Layanan sementara sibuk. Coba lagi nanti.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`delivery_failed`}),` / `,_jsx(_components.code,{children:`internal_error`}),` / `,_jsx(_components.code,{children:`unknown_error`})]}),_jsx(_components.td,{children:`Kesalahan pengiriman atau internal platform. Ikuti pesan yang dikembalikan dan coba lagi nanti.`})]})]})]})]})}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":"Pembuatan Gambar Seedream 5.5","description":"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-5/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(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,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:`11`,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\": \"seedream-5-5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"An orange cat sticker with clean edges\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"2K\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"background\": \"transparent\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`17`,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:`17`,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:`payload `}),_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:`\"seedream-5-5\"`}),_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:`\"An orange cat sticker with clean edges\"`}),_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:`\"2K\"`}),_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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_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:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"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:`#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:`payload,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60`}),_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())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`17`,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:`17`,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:` payload`}),_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\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seedream-5-5\"`}),_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:` \"An orange cat sticker with clean edges\"`}),_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:` \"2K\"`}),_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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transparent\"`}),_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:` \"output_format\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"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:`#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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},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:`#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\"`})]}),`\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:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_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:`#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:`#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`]})})})]}),`\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_example_seedream55\"`})]}),`\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`,_jsxs(_components.p,{children:[`Kirim ke `,_jsx(_components.code,{children:`POST /v1/images/generations`}),`, simpan `,_jsx(_components.code,{children:`data[0].task_id`}),`, lalu periksa `,_jsx(_components.code,{children:`GET /v1/tasks/{task_id}`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mode`,children:`Mode`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Pengaturan`}),_jsx(_components.th,{children:`Gambar masukan`}),_jsx(_components.th,{children:`Prompt`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pembuatan gambar`}),_jsx(_components.td,{children:`Default`}),_jsx(_components.td,{children:`0–10`}),_jsx(_components.td,{children:`Wajib`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Pemisahan lapisan`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition: true`})}),_jsx(_components.td,{children:`Tepat 1`}),_jsx(_components.td,{children:`Opsional`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`autentikasi`,children:`Autentikasi`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),`, dengan `,_jsx(_components.code,{children:`\u003ctoken>`}),` berupa APIMart API Key Anda.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`parameter-permintaan`,children:`Parameter permintaan`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.code,{children:`seedream-5-5`}),`.`]})}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,id:`param-prompt`,children:_jsx(_components.p,{children:`Wajib untuk pembuatan dari teks maupun gambar. Opsional untuk pemisahan: model mengenali subjek, teks, dan latar secara otomatis. Anda juga dapat menjelaskan elemen yang ingin dipisahkan.`})}),`\n`,_jsxs(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:[_jsxs(_components.p,{children:[`Maksimal 10 referensi untuk pembuatan, tepat 1 gambar untuk pemisahan. Mendukung URL gambar publik atau Data URI Base64 gambar. Unggah berkas lokal melalui `,_jsx(_components.a,{href:`/id/api-reference/uploads/images`,children:`API unggah gambar`}),` lalu gunakan `,_jsx(_components.code,{children:`url`}),` hasilnya.`]}),_jsxs(_components.p,{children:[`Gunakan URL `,_jsx(_components.code,{children:`http(s)`}),` yang dapat diakses publik atau `,_jsx(_components.code,{children:`data:image/\u003cformat>;base64,…`}),` dengan nama format huruf kecil dalam Data URI.`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Mendukung JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, dan HEIF. AVIF serta JP2 tidak didukung.`}),`\n`,_jsxs(_components.li,{children:[`Maksimal `,_jsx(_components.strong,{children:`30 MiB (31,457,280 byte)`}),` dan `,_jsx(_components.strong,{children:`36 juta total piksel`}),` per gambar. Hitung lebar × tinggi; bukan batas 6000 piksel untuk setiap sisi.`]}),`\n`,_jsx(_components.li,{children:`Batas ukuran atau piksel yang terlampaui menghasilkan HTTP 400 sinkron. AVIF dan JP2 dapat membuat tugas sebelum ditolak penyedia; tugas gagal dikembalikan biayanya. Konversikan format sebelum mengirim.`}),`\n`]}),_jsx(_components.p,{children:`Endpoint unggah gambar memiliki batas format tersendiri. Untuk format yang didukung model tetapi tidak didukung endpoint unggah, gunakan URL publik atau Data URI.`})]}),`\n`,_jsxs(ParamField,{body:`size`,type:`string`,id:`param-size`,children:[_jsxs(_components.p,{children:[`Pembuatan: default `,_jsx(_components.code,{children:`2K`}),`, mendukung tingkat resolusi, rasio, atau ukuran piksel tepat. Pemisahan: default `,_jsx(_components.code,{children:`auto`}),`, hanya `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`.`]}),_jsxs(_components.p,{children:[`Untuk pembuatan gambar, `,_jsx(_components.code,{children:`size: \"auto\"`}),` berarti `,_jsx(_components.code,{children:`2K`}),`. Rasio aspek tanpa `,_jsx(_components.code,{children:`resolution`}),` juga memakai `,_jsx(_components.code,{children:`2K`}),`. Untuk dimensi piksel tepat, hilangkan `,_jsx(_components.code,{children:`resolution`}),` dan gunakan bilangan bulat positif untuk lebar serta tinggi.`]})]}),`\n`,_jsx(ParamField,{body:`resolution`,type:`string`,id:`param-resolution`,children:_jsxs(_components.p,{children:[`Pada pembuatan, gunakan `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` bersama rasio pada `,_jsx(_components.code,{children:`size`}),`. Pada pemisahan, ini adalah alias platform untuk `,_jsx(_components.code,{children:`size`}),`: `,_jsx(_components.code,{children:`size`}),` didahulukan, `,_jsx(_components.code,{children:`resolution`}),` dipakai hanya jika `,_jsx(_components.code,{children:`size`}),` tidak dikirim, dan tanpa keduanya berlaku `,_jsx(_components.code,{children:`auto`}),`. Nilai yang diterima: `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`. Rasio atau piksel ditolak secara sinkron dengan HTTP 400. Tidak mendukung `,_jsx(_components.code,{children:`3K`}),` / `,_jsx(_components.code,{children:`4K`}),`.`]})}),`\n`,_jsx(ParamField,{body:`background`,type:`string`,id:`param-background`,children:_jsxs(_components.p,{children:[`Pembuatan: `,_jsx(_components.code,{children:`auto`}),` (default), `,_jsx(_components.code,{children:`transparent`}),`, atau `,_jsx(_components.code,{children:`opaque`}),`. Transparansi tersedia untuk masukan teks maupun gambar. Wajib PNG, tidak boleh bersama `,_jsx(_components.code,{children:`output_format: \"jpeg\"`}),`. Saat pemisahan, jangan kirim kolom ini, termasuk `,_jsx(_components.code,{children:`auto`}),`.`]})}),`\n`,_jsx(ParamField,{body:`output_format`,type:`string`,default:`png`,id:`param-output-format`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`png`}),` (default) atau `,_jsx(_components.code,{children:`jpeg`}),`. Saat pemisahan hanya mengatur gambar dasar; lapisan hasil selalu berupa PNG transparan.`]})}),`\n`,_jsx(ParamField,{body:`n`,type:`integer`,id:`param-n`,children:_jsxs(_components.p,{children:[`Hanya `,_jsx(_components.code,{children:`1`}),`. Pembuatan menghasilkan satu gambar per permintaan. Atur jumlah hasil pemisahan melalui `,_jsx(_components.code,{children:`layer_decomposition_options.max_images`}),`.`]})}),`\n`,_jsx(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:_jsx(_components.p,{children:`Penanda opsional untuk menambahkan tanda air.`})}),`\n`,_jsx(ParamField,{body:`optimize_prompt_options`,type:`object`,id:`param-optimize-prompt-options`,children:_jsxs(_components.p,{children:[`Hanya menerima `,_jsx(_components.code,{children:`{\"mode\":\"standard\"}`}),`. Jika dihilangkan, penyedia tetap mengaktifkan default `,_jsx(_components.code,{children:`standard`}),`; optimasi tidak dapat dimatikan pada Seedream 5.5. Penyedia menolak `,_jsx(_components.code,{children:`disabled`}),` / `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`off`}),` dengan HTTP 400 dan `,_jsx(_components.code,{children:`must be one of: standard`}),`. Platform langsung menolak `,_jsx(_components.code,{children:`fast`}),` dengan HTTP 400.`]})}),`\n`,_jsx(ParamField,{body:`layer_decomposition`,type:`boolean`,id:`param-layer-decomposition`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` memisahkan masukan menjadi gambar dasar dan lapisan transparan. Memerlukan tepat satu gambar dan tanpa `,_jsx(_components.code,{children:`background`}),`. `,_jsx(_components.code,{children:`output_format`}),` hanya mengatur gambar dasar.`]})}),`\n`,_jsxs(ParamField,{body:`layer_decomposition_options`,type:`object`,id:`param-layer-decomposition-options`,children:[_jsxs(_components.p,{children:[`Hanya bersama `,_jsx(_components.code,{children:`layer_decomposition: true`}),`; selain itu HTTP 400.`]}),_jsxs(Expandable,{title:`Parameter permintaan`,children:[_jsx(ParamField,{body:`max_images`,type:`integer`,default:`30`,id:`param-max-images`,children:_jsxs(_components.p,{children:[`Bilangan bulat `,_jsx(_components.code,{children:`2`}),`–`,_jsx(_components.code,{children:`100`}),`, default `,_jsx(_components.code,{children:`30`}),`. Batas total gambar keluaran termasuk gambar dasar, bukan jumlah yang dijamin.`]})}),_jsxs(ParamField,{body:`text_recognition`,type:`boolean`,default:`false`,id:`param-text-recognition`,children:[_jsxs(_components.p,{children:[`Boolean opsional. `,_jsx(_components.code,{children:`true`}),` meminta OCR dengan informasi gaya untuk lapisan teks. `,_jsx(_components.code,{children:`text_recognition`}),` hanya mungkin muncul untuk teks reguler yang dapat dikenali.`]}),_jsxs(_components.p,{children:[`Saat OCR aktif, menyertakan `,_jsx(_components.code,{children:`prompt`}),` dapat menyebabkan hasil pengenalan teks tidak dikembalikan. Jika OCR menjadi prioritas, coba hilangkan prompt pemisahan. Hasil tetap tidak dijamin; perlakukan kolom OCR sebagai opsional.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`format-ukuran`,children:`Format ukuran`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Format`}),_jsx(_components.th,{children:`Contoh`}),_jsx(_components.th,{children:`Aturan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tingkat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"2K\"`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),`; default `,_jsx(_components.code,{children:`2K`}),`. Model memilih rasio berdasarkan prompt.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rasio + tingkat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"16:9\", \"resolution\": \"1.5K\"`})}),_jsxs(_components.td,{children:[`Hanya pembuatan. Rasio tercantum di bawah; notasi `,_jsx(_components.code,{children:`16x9`}),` juga diterima.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Piksel tepat`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`\"size\": \"2048x1152\"`})}),_jsx(_components.td,{children:`Hanya pembuatan. Total piksel 921.600–4.624.220; lebar/tinggi 1/16–16.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Rasio: `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`9:16`}),`, `,_jsx(_components.code,{children:`3:2`}),`, `,_jsx(_components.code,{children:`2:3`}),`, `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`2:1`}),`, `,_jsx(_components.code,{children:`1:2`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Batas berlaku pada luas piksel dan rasio. Pemisahan hanya menerima tingkat atau `,_jsx(_components.code,{children:`auto`}),`, bukan rasio atau ukuran piksel tepat.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ukuran-keluaran-pemisahan`,children:`Ukuran keluaran pemisahan`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Prioritas: `,_jsx(_components.code,{children:`size`}),` → `,_jsx(_components.code,{children:`resolution`}),` → `,_jsx(_components.code,{children:`auto`}),`. `,_jsx(_components.code,{children:`resolution`}),` adalah alias platform; penyedia hanya menerima `,_jsx(_components.code,{children:`size`}),`. `,_jsx(_components.code,{children:`size: \"1K\"`}),` bersama `,_jsx(_components.code,{children:`resolution: \"2K\"`}),` memakai `,_jsx(_components.code,{children:`1K`}),`; hanya `,_jsx(_components.code,{children:`resolution: \"1.5K\"`}),` memakai `,_jsx(_components.code,{children:`1.5K`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Dengan `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),`, gambar dasar dan setiap lapisan dikeluarkan pada tingkat pilihan dengan rasio masing-masing tetap terjaga. Salah satu hasil pengukuran dasar `,_jsx(_components.code,{children:`1K`}),` berukuran `,_jsx(_components.code,{children:`840×1248`}),`, dan setiap lapisan juga sekitar 1,05 juta piksel. Ini contoh hasil, bukan ukuran tetap.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`auto`}),` memakai ukuran asli masukan: masukan di bawah `,_jsx(_components.code,{children:`1K`}),` diperbesar ke `,_jsx(_components.code,{children:`1K`}),`, sedangkan di atas `,_jsx(_components.code,{children:`2K`}),` diperkecil ke `,_jsx(_components.code,{children:`2K`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`contoh-permintaan`,children:`Contoh permintaan`}),`\n`,_jsx(Heading,{level:`3`,id:`penyuntingan-dan-penggabungan-referensi`,children:`Penyuntingan dan penggabungan referensi`}),`\n`,_jsx(CodeBlock,{filename:``,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\": \"seedream-5-5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Combine the product in the first image with the setting in the second image\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/product.png\", \"https://example.com/setting.jpg\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"size\": \"16:9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"1.5K\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"output_format\": \"png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`pemisahan-lapisan-dan-ocr`,children:`Pemisahan lapisan dan OCR`}),`\n`,_jsxs(_components.p,{children:[`Permintaan ini menghasilkan maksimal 10 gambar termasuk gambar dasar. `,_jsx(_components.code,{children:`prompt`}),` opsional; jangan kirim `,_jsx(_components.code,{children:`background`}),`. Ganti URL dengan gambar yang dapat diakses.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,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:`14`,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\": \"seedream-5-5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_urls\": [\"https://example.com/poster.png\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"layer_decomposition\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"layer_decomposition_options\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_images\": 10,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text_recognition\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"size\": \"1K\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`memeriksa-tugas`,children:`Memeriksa tugas`}),`\n`,_jsxs(_components.p,{children:[`Gunakan `,_jsx(_components.a,{href:`/id/api-reference/tasks/status`,children:`API status tugas`}),` setiap 3 detik selama 30 detik pertama, lalu setiap 5–10 detik. Pemisahan dapat memakan beberapa menit; server menunggu maksimal 13 menit. Simpan `,_jsx(_components.code,{children:`task_id`}),` dan periksa hingga status akhir tanpa mengirim ulang permintaan pembuatan.`]}),`\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_example_seedream55'`}),_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:[`Pada `,_jsx(_components.code,{children:`data.status`}),`, `,_jsx(_components.code,{children:`pending`}),` / `,_jsx(_components.code,{children:`processing`}),` berarti diproses dan `,_jsx(_components.code,{children:`completed`}),` berarti berhasil. Untuk `,_jsx(_components.code,{children:`failed`}),`, baca `,_jsx(_components.code,{children:`data.error.message`}),`; biaya dikembalikan otomatis. URL hasil ada di `,_jsx(_components.code,{children:`data.result.images[].url[]`}),`.`]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Gambar hasil disimpan selama `,_jsx(_components.strong,{children:`3 hari`}),`; segera unduh. Catatan tugas juga hanya disimpan 3 hari, setelah itu tidak dapat diperiksa melalui `,_jsx(_components.code,{children:`task_id`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`data.result.images[].expires_at`}),` saat ini mengembalikan timestamp Unix dalam detik sebesar waktu tugas selesai + 24 jam. Ini adalah penanda konservatif yang lebih awal daripada penghapusan sebenarnya. Jangan gunakan untuk menghitung masa penyimpanan aktual atau hitung mundur penghapusan.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`hasil-lapisan-dan-ocr`,children:`Hasil lapisan dan OCR`}),`\n`,_jsx(_components.p,{children:`Contoh ini menunjukkan struktur, bukan rekaman eksekusi model. Ukuran, koordinat, dan teks hanya ilustrasi. Metadata dapat tidak tersedia.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`67`,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:`67`,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_example_seedream55\"`}),_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:` \"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794302642`}),_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:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/base.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/title.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:` \"sizes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"840x1248\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1512x702\"`}),_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_formats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"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:` \"backgrounds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1794389042`}),_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:` \"layer_decomposition\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"layers\"`}),_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:` \"z_index\"`}),_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:`,`})]}),`\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:`\"840x1248\"`}),_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:`\"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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque\"`})]}),`\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:` \"z_index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`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:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1512x702\"`}),_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:`\"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:` \"background\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sale title\"`}),_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:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Printed sale title\"`}),_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:` \"bounding_box\"`}),_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:` \"absolute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`84`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`156`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`756`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`}),_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:` \"normalized\"`}),_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:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`125`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`900`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`375`}),_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:` \"text_recognition\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUMMER SALE\"`}),_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:` \"lines\"`}),_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:` \"bounding_box\"`}),_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:` \"absolute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`126`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`156`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`714`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`468`}),_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:` \"normalized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`125`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`850`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`375`}),_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:` \"runs\"`}),_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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUMMER SALE\"`}),_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:` \"style\"`}),_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:` \"similar_font_family\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Arial\"`}),_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:` \"foreground_color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#222222\"`}),_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:` \"bold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"italic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"underline\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikethrough\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"shadow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"translucent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\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`,_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Dalam setiap `,_jsx(_components.code,{children:`data.result.images[]`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`sizes`}),`, `,_jsx(_components.code,{children:`output_formats`}),`, `,_jsx(_components.code,{children:`backgrounds`}),`, dan `,_jsx(_components.code,{children:`layers`}),` berkorespondensi berdasarkan indeks. Array metadata dapat dihilangkan jika panjangnya tidak sama dengan `,_jsx(_components.code,{children:`url`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kolom`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`url[]`})}),_jsx(_components.td,{children:`URL gambar. Pada mode lapisan, indeks 0 adalah gambar dasar, diikuti lapisan. Segera unduh dan simpan berkas.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`sizes[]`}),` / `,_jsx(_components.code,{children:`output_formats[]`})]}),_jsx(_components.td,{children:`Ukuran dan format aktual setiap gambar.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backgrounds[]`})}),_jsxs(_components.td,{children:[`Latar aktual: `,_jsx(_components.code,{children:`opaque`}),` / `,_jsx(_components.code,{children:`transparent`}),`. Gunakan nilai ini untuk `,_jsx(_components.code,{children:`background: \"auto\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expires_at`})}),_jsx(_components.td,{children:`Saat ini berupa timestamp Unix sebesar waktu tugas selesai + 24 jam (86400 detik). Penanda konservatif ini bukan waktu penghapusan gambar yang sebenarnya; jangan gunakan untuk hitung mundur penghapusan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition`})}),_jsx(_components.td,{children:`Apakah hasil berasal dari pemisahan lapisan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].z_index`})}),_jsx(_components.td,{children:`Urutan tumpukan: gambar dasar bernilai 0; susun dengan urutan menaik.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].background`})}),_jsxs(_components.td,{children:[`Dasar: `,_jsx(_components.code,{children:`opaque`}),`; lapisan hasil: `,_jsx(_components.code,{children:`transparent`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`layers[i].name`}),` / `,_jsx(_components.code,{children:`description`})]}),_jsx(_components.td,{children:`Nama dan deskripsi lapisan opsional.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].bounding_box`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`absolute`}),`: `,_jsx(_components.code,{children:`[left, top, right, bottom]`}),` dalam piksel gambar dasar. `,_jsx(_components.code,{children:`normalized`}),`: kotak yang sama dinormalisasi ke 0–1000. Tidak ada pada gambar dasar.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layers[i].text_recognition`})}),_jsx(_components.td,{children:`Mungkin ada jika OCR aktif dan teks reguler dikenali; tidak ada untuk huruf artistik, tulisan tangan, atau lapisan bukan teks.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Koordinat absolut: `,_jsx(_components.code,{children:`x=left`}),`, `,_jsx(_components.code,{children:`y=top`}),`, `,_jsx(_components.code,{children:`w=right-left`}),`, `,_jsx(_components.code,{children:`h=bottom-top`}),`. Untuk kanvas `,_jsx(_components.code,{children:`W × H`}),`, konversikan koordinat ternormalisasi sebagai berikut:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`x = left / 1000 * W`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`y = top / 1000 * H`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`w = (right - left) / 1000 * W`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`h = (bottom - top) / 1000 * H`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Ukuran setiap berkas lapisan ditentukan sendiri pada tingkat pilihan dan dapat berbeda dari `,_jsx(_components.code,{children:`bounding_box`}),`. Untuk menyusun, ubah ukurannya menjadi `,_jsx(_components.code,{children:`w × h`}),`, lalu tempatkan di `,_jsx(_components.code,{children:`(x, y)`}),`. Jangan langsung memakai piksel berkas lapisan sebagai koordinat gambar dasar.`]}),`\n`,_jsx(Heading,{level:`3`,id:`kolom-pengenalan-teks`,children:`Kolom pengenalan teks`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`text_recognition`}),` mengikuti struktur OCR model penyedia. Platform meneruskan kolom seperti `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`lines`}),`, `,_jsx(_components.code,{children:`runs`}),`, dan `,_jsx(_components.code,{children:`style`}),` tanpa perubahan.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Kolom`}),_jsx(_components.th,{children:`Keterangan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`text`})}),_jsxs(_components.td,{children:[`Teks lengkap lapisan, baris dipisahkan dengan `,_jsx(_components.code,{children:`\\\\n`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lines[].bounding_box`})}),_jsx(_components.td,{children:`Kotak baris dalam koordinat gambar dasar.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lines[].runs[]`})}),_jsxs(_components.td,{children:[`Potongan teks dengan gaya berbeda dalam satu baris, masing-masing berisi `,_jsx(_components.code,{children:`text`}),` dan `,_jsx(_components.code,{children:`style`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`runs[].style.similar_font_family`})}),_jsxs(_components.td,{children:[`Font terdekat yang dikenali, atau `,_jsx(_components.code,{children:`unknown`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`runs[].style.foreground_color`})}),_jsxs(_components.td,{children:[`Warna teks dalam format `,_jsx(_components.code,{children:`#RRGGBB`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`runs[].style.bold`}),` / `,_jsx(_components.code,{children:`italic`}),` / `,_jsx(_components.code,{children:`underline`}),` / `,_jsx(_components.code,{children:`strikethrough`}),` / `,_jsx(_components.code,{children:`shadow`}),` / `,_jsx(_components.code,{children:`translucent`})]}),_jsx(_components.td,{children:`Penanda gaya boolean yang diperkirakan model; dapat tidak akurat.`})]})]})]}),`\n`,_jsx(_components.p,{children:`OCR dan informasi font membantu tampilan, penyalinan, atau penyuntingan, tetapi dapat berbeda dari aslinya. Gambar lapisan tetap dapat digunakan tanpa OCR.`}),`\n`,_jsx(Heading,{level:`2`,id:`penagihan`,children:`Penagihan`}),`\n`,_jsxs(_components.p,{children:[`Gambar keluaran dan referensi masukan ditagih terpisah. `,_jsx(_components.strong,{children:`Setiap referensi dikenakan biaya, termasuk yang pertama`}),` serta satu gambar masukan untuk pemisahan lapisan.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Setiap keluaran memakai jumlah piksel aktual: hingga `,_jsx(_components.strong,{children:`2,610,000`}),` piksel termasuk batasnya memakai tarif rendah; lebih besar memakai tarif tinggi. `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` masuk tarif rendah, `,_jsx(_components.code,{children:`2K`}),` tarif tinggi. Dimensi tepat dihitung dari lebar × tinggi.`]}),`\n`,_jsxs(_components.li,{children:[`Pembuatan gambar mencadangkan tarif keluaran yang dipilih ditambah jumlah referensi × harga masukan. Tanpa `,_jsx(_components.code,{children:`size`}),` atau dengan `,_jsx(_components.code,{children:`auto`}),`, cadangan memakai `,_jsx(_components.code,{children:`2K`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Pemisahan mencadangkan `,_jsx(_components.code,{children:`max_images`}),` × tarif keluaran `,_jsx(_components.strong,{children:`ditambah biaya satu gambar masukan`}),`. Default `,_jsx(_components.code,{children:`max_images`}),` adalah 30 termasuk dasar; keluaran aktual bisa lebih sedikit.`]}),`\n`,_jsxs(_components.li,{children:[`Pemisahan memakai `,_jsx(_components.code,{children:`size`}),` yang berlaku, atau `,_jsx(_components.code,{children:`resolution`}),` jika tidak ada: `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` mencadangkan tarif rendah; `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),` tarif tinggi. Tanpa keduanya, berlaku `,_jsx(_components.code,{children:`auto`}),` dengan cadangan tarif tinggi.`]}),`\n`,_jsx(_components.li,{children:`Penyelesaian tagihan memakai jumlah keluaran aktual, tarif piksel setiap gambar, dan jumlah masukan; selisih dikembalikan atau ditagih. Dasar dan setiap lapisan dihitung sendiri, bukan semua mengikuti tarif yang diminta tanpa memeriksa piksel aktual. Tugas gagal mendapat pengembalian penuh.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Lihat `,_jsx(_components.a,{href:`https://apimart.ai/pricing`,children:`harga model`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`kesalahan-parameter-umum`,children:`Kesalahan parameter umum`}),`\n`,_jsxs(_components.p,{children:[`Mencakup validasi platform dan penyedia. Baca `,_jsx(_components.code,{children:`error.message`}),` untuk kegagalan pengiriman dan `,_jsx(_components.code,{children:`data.error.message`}),` untuk kegagalan tugas asinkron.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Cuplikan kesalahan`}),_jsx(_components.th,{children:`Solusi`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`does not support optimize_prompt_options.mode=fast`})}),_jsxs(_components.td,{children:[`Platform mengembalikan HTTP 400 secara sinkron. Hanya `,_jsx(_components.code,{children:`standard`}),`; menghilangkannya juga tetap mengaktifkan optimasi.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`must be one of: standard`})}),_jsxs(_components.td,{children:[`HTTP 400 dari penyedia: `,_jsx(_components.code,{children:`disabled`}),` / `,_jsx(_components.code,{children:`none`}),` / `,_jsx(_components.code,{children:`off`}),` tidak didukung; optimasi tidak dapat dimatikan.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`only supports background auto, transparent or opaque`})}),_jsxs(_components.td,{children:[`Gunakan `,_jsx(_components.code,{children:`auto`}),`, `,_jsx(_components.code,{children:`transparent`}),`, atau `,_jsx(_components.code,{children:`opaque`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cannot combine background=transparent with output_format=jpeg`})}),_jsxs(_components.td,{children:[`Gunakan `,_jsx(_components.code,{children:`output_format: \"png\"`}),` untuk transparansi.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`does not accept background when layer_decomposition=true`})}),_jsxs(_components.td,{children:[`Hapus `,_jsx(_components.code,{children:`background`}),`, termasuk `,_jsx(_components.code,{children:`auto`}),`, pada pemisahan.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition_options requires layer_decomposition=true`})}),_jsx(_components.td,{children:`Kirim objek ini hanya pada mode pemisahan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`layer_decomposition_options.max_images must be within [2, 100]`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`max_images`}),`: bilangan bulat 2–100, termasuk gambar dasar.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid layer_decomposition_options`})}),_jsxs(_components.td,{children:[`Gunakan bilangan bulat untuk `,_jsx(_components.code,{children:`max_images`}),`, bukan string atau desimal; boolean untuk `,_jsx(_components.code,{children:`text_recognition`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`with layer_decomposition=true requires exactly 1 input image`})}),_jsx(_components.td,{children:`Berikan tepat satu gambar untuk pemisahan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`only supports size 1K, 1.5K, 2K or auto`})}),_jsxs(_components.td,{children:[`Pemisahan memakai `,_jsx(_components.code,{children:`size`}),` dahulu, jika tidak ada memakai `,_jsx(_components.code,{children:`resolution`}),`. Hanya `,_jsx(_components.code,{children:`1K`}),` / `,_jsx(_components.code,{children:`1.5K`}),` / `,_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`auto`}),`; rasio atau piksel menghasilkan HTTP 400 secara sinkron.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`n` must be 1\"})}),_jsxs(_components.td,{children:[`Atur `,_jsx(_components.code,{children:`n`}),` ke `,_jsx(_components.code,{children:`1`}),`; pembuatan batch tidak didukung.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`does not support stream`}),` / `,_jsx(_components.code,{children:`does not support tools`})]}),_jsxs(_components.td,{children:[`Hapus `,_jsx(_components.code,{children:`sequential_image_generation`}),`, `,_jsx(_components.code,{children:`stream`}),`, dan `,_jsx(_components.code,{children:`tools`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`supports up to 10 reference images`})}),_jsx(_components.td,{children:`Berikan maksimal 10 gambar referensi.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reference image too large for seedream-5-5`})}),_jsx(_components.td,{children:`Setiap referensi maksimal 30 MiB dan 36 juta total piksel. Kompres atau ubah ukurannya.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`does not support size`}),` / `,_jsx(_components.code,{children:`requires total pixels`}),` / `,_jsx(_components.code,{children:`requires aspect ratio`})]}),_jsx(_components.td,{children:`Periksa jumlah piksel, rasio aspek, dan notasi ukuran. 3K / 4K tidak didukung.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:\"`prompt` parameter is required\"})}),_jsx(_components.td,{children:`Pembuatan gambar wajib memakai prompt. Hanya pemisahan lapisan yang boleh menghilangkannya.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`alasan-kegagalan-tugas`,children:`Alasan kegagalan tugas`}),`\n`,_jsxs(_components.p,{children:[`Saat `,_jsx(_components.code,{children:`data.status`}),` bernilai `,_jsx(_components.code,{children:`failed`}),`, baca `,_jsx(_components.code,{children:`data.error.message`}),` dan `,_jsx(_components.code,{children:`data.error.reason`}),`. Biaya dikembalikan otomatis. Jika `,_jsx(_components.code,{children:`reason`}),` tidak ada atau tidak dikenal, gunakan `,_jsx(_components.code,{children:`message`}),` sebagai pesan cadangan.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`data.error.reason`})}),_jsx(_components.th,{children:`Tindakan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`content_policy_violation`})}),_jsx(_components.td,{children:`Masukan atau keluaran gagal pemeriksaan konten. Ubah prompt atau gambar.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid_parameter`}),` / `,_jsx(_components.code,{children:`unsupported_option`})]}),_jsx(_components.td,{children:`Parameter atau kombinasi tidak didukung. Sesuaikan permintaan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_media`})}),_jsx(_components.td,{children:`Gambar rusak atau format tidak didukung. Periksa dan konversikan.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`media_unreachable`})}),_jsx(_components.td,{children:`URL gambar tidak dapat diakses. Periksa akses publik atau unggah ulang.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`generation_timeout`})}),_jsx(_components.td,{children:`Pembuatan melewati batas waktu. Coba lagi nanti.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`service_unavailable`})}),_jsx(_components.td,{children:`Layanan sementara sibuk. Coba lagi nanti.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`delivery_failed`}),` / `,_jsx(_components.code,{children:`internal_error`}),` / `,_jsx(_components.code,{children:`unknown_error`})]}),_jsx(_components.td,{children:`Kesalahan pengiriman atau internal platform. Ikuti pesan yang dikembalikan dan coba lagi nanti.`})]})]})]})]})}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":"Pembuatan Gambar Seedream 5.5","description":"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-5/generation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Mode","slug":"mode","depth":2,"children":[]},{"title":"Autentikasi","slug":"autentikasi","depth":2,"children":[]},{"title":"Parameter permintaan","slug":"parameter-permintaan","depth":2,"children":[]},{"title":"Format ukuran","slug":"format-ukuran","depth":2,"children":[{"title":"Ukuran keluaran pemisahan","slug":"ukuran-keluaran-pemisahan","depth":3,"children":[]}]},{"title":"Contoh permintaan","slug":"contoh-permintaan","depth":2,"children":[{"title":"Penyuntingan dan penggabungan referensi","slug":"penyuntingan-dan-penggabungan-referensi","depth":3,"children":[]},{"title":"Pemisahan lapisan dan OCR","slug":"pemisahan-lapisan-dan-ocr","depth":3,"children":[]}]},{"title":"Memeriksa tugas","slug":"memeriksa-tugas","depth":2,"children":[]},{"title":"Hasil lapisan dan OCR","slug":"hasil-lapisan-dan-ocr","depth":2,"children":[{"title":"Kolom pengenalan teks","slug":"kolom-pengenalan-teks","depth":3,"children":[]}]},{"title":"Penagihan","slug":"penagihan","depth":2,"children":[]},{"title":"Kesalahan parameter umum","slug":"kesalahan-parameter-umum","depth":2,"children":[]},{"title":"Alasan kegagalan tugas","slug":"alasan-kegagalan-tugas","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=\"11\">\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\": \"seedream-5-5\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"An orange cat sticker with clean edges\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"size\": \"2K\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"background\": \"transparent\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"output_format\": \"png\"\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=\"17\">\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\">payload \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\">\"seedream-5-5\"\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\">\"An orange cat sticker with clean edges\"\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\">\"2K\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"background\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"transparent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"output_format\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"png\"\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 \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\">payload,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> timeout\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">60\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:#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>\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=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> payload\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:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"seedream-5-5\"\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\"> \"An orange cat sticker with clean edges\"\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\"> \"2K\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"background\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"transparent\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"output_format\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"png\"\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:#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:#0A3069;--shiki-dark:#CE9178\"> \"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\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>\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>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">payload\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:#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:#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:#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\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_example_seedream55\"\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":"Pembuatan Gambar Seedream 5.5","path":"/v1/images/generations","servers":[{"url":"https://api.apimart.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Gunakan `Authorization: Bearer \u003ctoken>` , dengan `\u003ctoken>` berupa APIMart API Key Anda.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Gunakan `seedream-5-5` .","required":true}],"prompt":[{"type":"string","description":"Wajib untuk pembuatan dari teks maupun gambar. Opsional untuk pemisahan: model mengenali subjek, teks, dan latar secara otomatis. Anda juga dapat menjelaskan elemen yang ingin dipisahkan."}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"Maksimal 10 referensi untuk pembuatan, tepat 1 gambar untuk pemisahan. Mendukung URL gambar publik atau Data URI Base64 gambar. Unggah berkas lokal melalui API unggah gambar lalu gunakan `url` hasilnya. Gunakan URL `http(s)` yang dapat diakses publik atau `data:image/\u003cformat>;base64,…` dengan nama format huruf kecil dalam Data URI. Mendukung JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, dan HEIF. AVIF serta JP2 tidak didukung. Maksimal 30 MiB (31,457,280 byte) dan 36 juta total piksel per gambar. Hitung lebar × tinggi; bukan batas 6000 piksel untuk setiap sisi. Batas ukuran atau piksel yang terlampaui menghasilkan HTTP 400 sinkron. AVIF dan JP2 dapat membuat tugas sebelum ditolak penyedia; tugas gagal dikembalikan biayanya. Konversikan format sebelum mengirim. Endpoint unggah gambar memiliki batas format tersendiri. Untuk format yang didukung model tetapi tidak didukung endpoint unggah, gunakan URL publik atau Data URI."}],"size":[{"type":"string","description":"Pembuatan: default `2K` , mendukung tingkat resolusi, rasio, atau ukuran piksel tepat. Pemisahan: default `auto` , hanya `1K` / `1.5K` / `2K` / `auto` . Untuk pembuatan gambar, `size: \"auto\"` berarti `2K` . Rasio aspek tanpa `resolution` juga memakai `2K` . Untuk dimensi piksel tepat, hilangkan `resolution` dan gunakan bilangan bulat positif untuk lebar serta tinggi."}],"resolution":[{"type":"string","description":"Pada pembuatan, gunakan `1K` / `1.5K` / `2K` bersama rasio pada `size` . Pada pemisahan, ini adalah alias platform untuk `size` : `size` didahulukan, `resolution` dipakai hanya jika `size` tidak dikirim, dan tanpa keduanya berlaku `auto` . Nilai yang diterima: `1K` / `1.5K` / `2K` / `auto` . Rasio atau piksel ditolak secara sinkron dengan HTTP 400. Tidak mendukung `3K` / `4K` ."}],"background":[{"type":"string","description":"Pembuatan: `auto` (default), `transparent` , atau `opaque` . Transparansi tersedia untuk masukan teks maupun gambar. Wajib PNG, tidak boleh bersama `output_format: \"jpeg\"` . Saat pemisahan, jangan kirim kolom ini, termasuk `auto` ."}],"output_format":[{"type":"string","description":"`png` (default) atau `jpeg` . Saat pemisahan hanya mengatur gambar dasar; lapisan hasil selalu berupa PNG transparan."}],"n":[{"type":"integer","description":"Hanya `1` . Pembuatan menghasilkan satu gambar per permintaan. Atur jumlah hasil pemisahan melalui `layer_decomposition_options.max_images` ."}],"watermark":[{"type":"boolean","description":"Penanda opsional untuk menambahkan tanda air."}],"optimize_prompt_options":[{"type":"object","properties":{},"description":"Hanya menerima `{\"mode\":\"standard\"}` . Jika dihilangkan, penyedia tetap mengaktifkan default `standard` ; optimasi tidak dapat dimatikan pada Seedream 5.5. Penyedia menolak `disabled` / `none` / `off` dengan HTTP 400 dan `must be one of: standard` . Platform langsung menolak `fast` dengan HTTP 400."}],"layer_decomposition":[{"type":"boolean","description":"`true` memisahkan masukan menjadi gambar dasar dan lapisan transparan. Memerlukan tepat satu gambar dan tanpa `background` . `output_format` hanya mengatur gambar dasar."}],"layer_decomposition_options":[{"type":"object","properties":{"max_images":[{"type":"integer","description":"Bilangan bulat `2` – `100` , default `30` . Batas total gambar keluaran termasuk gambar dasar, bukan jumlah yang dijamin."}],"text_recognition":[{"type":"boolean","description":"Boolean opsional. `true` meminta OCR dengan informasi gaya untuk lapisan teks. `text_recognition` hanya mungkin muncul untuk teks reguler yang dapat dikenali. Saat OCR aktif, menyertakan `prompt` dapat menyebabkan hasil pengenalan teks tidak dikembalikan. Jika OCR menjadi prioritas, coba hilangkan prompt pemisahan. Hasil tetap tidak dijamin; perlakukan kolom OCR sebagai opsional."}]},"description":"Hanya bersama `layer_decomposition: true` ; selain itu HTTP 400."}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","prompt":"\u003cstring>","image_urls":["\u003cstring>"],"size":"\u003cstring>","resolution":"\u003cstring>","background":"\u003cstring>","output_format":"\u003cstring>","n":123,"watermark":true,"optimize_prompt_options":{},"layer_decomposition":true,"layer_decomposition_options":{"max_images":123,"text_recognition":true}}}}}}},"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":"Pembuatan Gambar Seedream 5.5 - APIMart","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/images/seedream-5-5/generation","matchLevel":1},"zh-Hans":{"href":"/cn/api-reference/images/seedream-5-5/generation","matchLevel":1},"ja":{"href":"/ja/api-reference/images/seedream-5-5/generation","matchLevel":1},"ko":{"href":"/ko/api-reference/images/seedream-5-5/generation","matchLevel":1},"ru":{"href":"/ru/api-reference/images/seedream-5-5/generation","matchLevel":1},"de":{"href":"/de/api-reference/images/seedream-5-5/generation","matchLevel":1},"fr":{"href":"/fr/api-reference/images/seedream-5-5/generation","matchLevel":1},"pt":{"href":"/pt/api-reference/images/seedream-5-5/generation","matchLevel":1},"id":{"href":"/id/api-reference/images/seedream-5-5/generation","matchLevel":0},"es":{"href":"/es/api-reference/images/seedream-5-5/generation","matchLevel":1}}},"lastModified":"2026-11-10T10:30:37.388Z","originalFileLocation":"id/api-reference/images/seedream-5-5/generation.mdx","locale":"id"},"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=\"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\">\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=\"Pembuatan Gambar Seedream 5.5 - APIMart\">\u003cmeta data-mint-head property=\"og:description\" content=\"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIMart\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=Seedream-5.5\u0026amp;title=Pembuatan+Gambar+Seedream+5.5\u0026amp;description=Buat+gambar+dari+teks+atau+hingga+10+referensi%2C+dengan+latar+transparan%2C+pemisahan+lapisan+yang+dapat+diatur%2C+dan+OCR+melalui+API+asinkron.\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=9be379005a769b98ea6dc0c55478084ce0087a4744664bfbbea14fa2938365ed\">\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=\"Pembuatan Gambar Seedream 5.5 - APIMart\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=Seedream-5.5\u0026amp;title=Pembuatan+Gambar+Seedream+5.5\u0026amp;description=Buat+gambar+dari+teks+atau+hingga+10+referensi%2C+dengan+latar+transparan%2C+pemisahan+lapisan+yang+dapat+diatur%2C+dan+OCR+melalui+API+asinkron.\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=9be379005a769b98ea6dc0c55478084ce0087a4744664bfbbea14fa2938365ed\">\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/id/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/id/api-reference/images/seedream-5-5/generation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.apimart.ai/en/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.apimart.ai/cn/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.apimart.ai/ja/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.apimart.ai/ko/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.apimart.ai/ru/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.apimart.ai/de/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.apimart.ai/fr/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.apimart.ai/pt/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.apimart.ai/es/api-reference/images/seedream-5-5/generation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.apimart.ai/en/api-reference/images/seedream-5-5/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/id/api-reference/images/seedream-5-5/generation#webpage\",\"url\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation\",\"name\":\"Pembuatan Gambar Seedream 5.5\",\"description\":\"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\",\"dateModified\":\"2026-11-10T10:30:37.388Z\",\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Seri Gambar\",\"item\":\"https://docs.apimart.ai/id/api-reference/images/gemini-nano-banana-2.1/generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pembuatan Gambar Seedream 5.5\",\"item\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation#apireference\",\"headline\":\"Pembuatan Gambar Seedream 5.5\",\"name\":\"Pembuatan Gambar Seedream 5.5\",\"description\":\"Buat gambar dari teks atau hingga 10 referensi, dengan latar transparan, pemisahan lapisan yang dapat diatur, dan OCR melalui API asinkron.\",\"url\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apimart.ai/id/api-reference/images/seedream-5-5/generation#webpage\"},\"dateModified\":\"2026-11-10T10:30:37.388Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"APIMart\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/id/api-reference/images/seedream-5-5/generation.md","siteName":"APIMart","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/en/api-reference/images/seedream-5-5/generation"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/api-reference/images/seedream-5-5/generation"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/images/seedream-5-5/generation"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/images/seedream-5-5/generation"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/images/seedream-5-5/generation"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/images/seedream-5-5/generation"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/images/seedream-5-5/generation"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/images/seedream-5-5/generation"}]},{"language":"id","tabs":[{"tab":"Panduan API","groups":[{"group":"Ikhtisar","pages":[{"title":"APIMart — Gateway API yang Kompatibel dengan OpenAI (GPT-5, Claude, Gemini)","href":"/id"}]},{"group":"Model","pages":[{"title":"API metadata daftar model","api":"GET https://api.apimart.ai/v1/models","href":"/id/api-reference/texts/models/list"}]},{"group":"Seri Teks","icon":"text","pages":[{"title":"API Chat Umum (Streaming Bawaan)","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/id/api-reference/texts/general/chat-completions"},{"title":"API Chat Umum (Non-Streaming Bawaan)","api":"POST https://api.apimart.ai/api/v1/chat/completions","href":"/id/api-reference/texts/general/chat-completions-nostream"},{"title":"Claude Messages API","api":"POST https://api.apimart.ai/v1/messages","href":"/id/api-reference/texts/general/claude-messages"},{"title":"Format Native Gemini","api":"POST https://api.apimart.ai/v1beta/models/{model}:{method}","href":"/id/api-reference/texts/gemini/quickstart"},{"title":"OpenAI Multimodal Responses API","api":"POST https://api.apimart.ai/v1/responses","href":"/id/api-reference/texts/openai/responses"},{"title":"Panduan Cache Konteks OpenAI","sidebarTitle":"Cache Konteks OpenAI","icon":"database","href":"/id/api-reference/texts/openai/context-cache"},{"title":"Panduan Penggunaan Cache Konteks Gemini","sidebarTitle":"Cache Konteks Gemini","icon":"database","href":"/id/api-reference/texts/gemini/context-cache"},{"title":"Panduan Penggunaan Cache Konteks Claude","sidebarTitle":"Cache Konteks Claude","icon":"database","href":"/id/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":"/id/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":"/id/api-reference/texts/qwen3.8-max/pricing"}]}]},{"group":"Seri Gambar","icon":"image","pages":[{"group":"Nano banana 2.1","icon":"image","pages":[{"title":"Nano banana 2.1 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-nano-banana-2.1/generation"}]},{"group":"Nano banana2","icon":"image","pages":[{"title":"Nano banana2 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3.1-flash/generation"},{"title":"Nano Banana Lite Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3.1-flash/generation-lite"}]},{"group":"Nano banana Pro","icon":"image","pages":[{"title":"Nano banana Pro Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-3-pro/generation"}]},{"group":"Nano banana","icon":"image","pages":[{"title":"Nano banana Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"Imagen-4.0","icon":"image","pages":[{"title":"Imagen 4.0 Apimart Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/imagen-4.0-apimart/generation"}]},{"group":"GPT-Image(1/1.5)","icon":"image","pages":[{"title":"GPT-Image(1/1.5) Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-1/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"GPT-Image-2 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2/generation"},{"title":"GPT-Image-2 Official Channel Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"Pembuatan Gambar GPT-Image-2.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.5/generation"}]},{"group":"GPT-Image-2.5 Ext","icon":"image","pages":[{"title":"GPT-Image-2.5 Ext — Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.5-ext/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.6/generation"}]},{"group":"GPT-Image-2.6 Ext","icon":"image","pages":[{"title":"GPT-Image-2.6 Ext Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/gpt-image-2.6-ext/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Seedream-4.0 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Seedream-4.5 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0-Lite","icon":"image","pages":[{"title":"Seedream-5.0-Lite Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-lite/generation"}]},{"group":"Seedream-5.0-Pro","icon":"image","pages":[{"title":"Seedream-5.0-Pro Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-0-pro/generation"}]},{"group":"Seedream-5.0-Flash","icon":"image","pages":[{"title":"Seedream-5.0-Flash Pembuatan Gambar","description":" - Mode pemrosesan asinkron, mengembalikan ID tugas untuk kueri berikutnya\n- Mendukung text-to-image, image-to-image satu gambar, dan multi-referensi (maksimal 10 gambar referensi)\n- Mendukung tingkat resolusi 1K / 1.5K / 2K, atau piksel tepat melalui `size`\n- Model gambar tunggal: satu gambar per permintaan; output PNG / JPEG\n- Tautan gambar yang dihasilkan berlaku selama 72 jam; harap segera simpan ","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-0-flash/generation"}]},{"group":"Seedream-5.5","icon":"image","pages":[{"title":"Pembuatan Gambar Seedream 5.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/seedream-5-5/generation"}]},{"group":"Flux Kontext","icon":"image","pages":[{"title":"Pembuatan dan Pengeditan Gambar FLUX Kontext","description":"Kirim tugas asinkron FLUX Kontext untuk pembuatan atau pengeditan gambar. API mengembalikan ID tugas; lakukan polling pada endpoint tugas untuk mendapatkan gambar yang dihasilkan.","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","icon":"image","pages":[{"title":"Pembuatan Gambar FLUX.2","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-2/generation"}]},{"group":"FLUX 3 Image","icon":"image","pages":[{"title":"FLUX 3 Image Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-3-image/generation"}]},{"group":"FLUX 3 Image Klein","icon":"image","pages":[{"title":"FLUX 3 Image Klein Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/flux-3-image-klein/generation"}]},{"group":"Hy-Image-3.5 Preview","icon":"image","pages":[{"title":"Hy-Image-3.5 Preview Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/hy-image-v3.5-preview/generation"}]},{"group":"Muse Image Ext","icon":"image","pages":[{"title":"Pembuatan Gambar Muse Image Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/muse-image-ext/generation"}]},{"group":"MAI-Image-2.6","icon":"image","pages":[{"title":"MAI-Image-2.6 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/mai-image-2.6/generation"}]},{"group":"MiniMax-H3-Image","icon":"image","pages":[{"title":"Pembuatan Gambar MiniMax-H3-Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/minimax-h3-image/generation"}]},{"group":"MiniMax-H3-Image-Highspeed","icon":"image","pages":[{"title":"Pembuatan Gambar MiniMax-H3-Image-Highspeed","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/minimax-h3-image-highspeed/generation"}]},{"group":"Qwen Image 2.0","icon":"image","pages":[{"title":"Qwen Image 2.0 Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/qwen-image/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Pembuatan Gambar Qwen Image 3.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Z-Image-Turbo","icon":"image","pages":[{"title":"Z-Image-Turbo Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine generasi gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine/generation"}]},{"group":"Grok Imagine 2.0 Ext","icon":"image","pages":[{"title":"Grok Imagine 2.0 Ext Pembuatan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/generation"},{"title":"Lapisan dan Pengeditan Wilayah Grok Imagine 2.0 Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/layer-region-edit"},{"title":"Grok Imagine Image 2.0 — generasi dan pengeditan resmi","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/grok-imagine-2.0-ext/official"}]},{"group":"wan2.7-image","icon":"image","pages":[{"title":"wan2.7 Pembuatan \u0026 Pengeditan Gambar","api":"POST https://api.apimart.ai/v1/images/generations","href":"/id/api-reference/images/wan2.7-image/generation"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"API Midjourney","href":"/id/api-reference/images/midjourney/generation"},{"title":"Imagine (teks ke gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations","href":"/id/api-reference/images/midjourney/imagine"},{"title":"Blend (gabungan multi-gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations/blend","href":"/id/api-reference/images/midjourney/blend"},{"title":"Describe (gambar ke teks)","api":"POST https://api.apimart.ai/v1/midjourney/generations/describe","href":"/id/api-reference/images/midjourney/describe"},{"title":"Edits (edit gambar)","api":"POST https://api.apimart.ai/v1/midjourney/generations/edits","href":"/id/api-reference/images/midjourney/edits"},{"title":"Upscale (perbesar tile)","api":"POST https://api.apimart.ai/v1/midjourney/generations/upscale","href":"/id/api-reference/images/midjourney/upscale"},{"title":"Variation (variasi)","api":"POST https://api.apimart.ai/v1/midjourney/generations/variation","href":"/id/api-reference/images/midjourney/variation"},{"title":"High Variation (variasi kuat)","api":"POST https://api.apimart.ai/v1/midjourney/generations/high-variation","href":"/id/api-reference/images/midjourney/high-variation"},{"title":"Low Variation (variasi halus)","api":"POST https://api.apimart.ai/v1/midjourney/generations/low-variation","href":"/id/api-reference/images/midjourney/low-variation"},{"title":"Reroll (regenerasi)","api":"POST https://api.apimart.ai/v1/midjourney/generations/reroll","href":"/id/api-reference/images/midjourney/reroll"},{"title":"Zoom (zoom out)","api":"POST https://api.apimart.ai/v1/midjourney/generations/zoom","href":"/id/api-reference/images/midjourney/zoom"},{"title":"Pan (pan)","api":"POST https://api.apimart.ai/v1/midjourney/generations/pan","href":"/id/api-reference/images/midjourney/pan"},{"title":"Inpaint (Vary Region)","api":"POST https://api.apimart.ai/v1/midjourney/generations/inpaint","href":"/id/api-reference/images/midjourney/inpaint"},{"title":"Modal (kirim parameter)","api":"POST https://api.apimart.ai/v1/midjourney/generations/modal","href":"/id/api-reference/images/midjourney/modal"},{"title":"Video (gambar ke video)","api":"POST https://api.apimart.ai/v1/midjourney/generations/video","href":"/id/api-reference/images/midjourney/video"},{"title":"Remix (reshape, hanya v8.1 / v8.2)","api":"POST https://api.apimart.ai/v1/midjourney/generations/remix-strong","href":"/id/api-reference/images/midjourney/remix"},{"title":"Query tugas","api":"GET https://api.apimart.ai/v1/midjourney/{task_id}","href":"/id/api-reference/images/midjourney/query"},{"title":"Praktik Terbaik","href":"/id/api-reference/images/midjourney/best-practices"},{"title":"Contoh Alur Kerja Lengkap","href":"/id/api-reference/images/midjourney/workflow"}]}]},{"group":"Seri Video","icon":"video","pages":[{"group":"apimart-zoe","icon":"video","pages":[{"title":"Pembuatan Video apimart-zoe","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/apimart-zoe/generation"}]},{"group":"seedance-1-0-pro","icon":"video","pages":[{"title":"Pembuatan Video seedance-1-0-pro","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/doubao/generation"}]},{"group":"seedance-1-5-pro","icon":"video","pages":[{"title":"Pembuatan Video seedance-1-5-pro","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-1-5-pro/generation"}]},{"group":"seedance-2-0","icon":"video","pages":[{"title":"Pembuatan Video seedance-2.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/seedance-2-0/generation"},{"title":"Aset Avatar Virtual","api":"POST https://api.apimart.ai/v1/seedance2/private-avatar","href":"/id/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":"/id/api-reference/videos/seedance-2-5/generation"}]},{"group":"VEO3","icon":"video","pages":[{"title":"Pembuatan Video VEO3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/veo3/generation"},{"title":"Remix Video VEO3","api":"POST https://api.apimart.ai/v1/videos/{task_id}/remix","href":"/id/api-reference/videos/veo3/remix"},{"title":"Pembuatan Video Resmi VEO3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/veo3/generation-official"}]},{"group":"MiniMax-Hailuo-02","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-Hailuo-02","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-hailuo/generation"}]},{"group":"MiniMax-Hailuo-2.3","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-Hailuo-2.3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","icon":"video","pages":[{"title":"Pembuatan Video MiniMax-H3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/generation"},{"title":"Pembuatan Video MiniMax-H3-Max","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/max"},{"title":"MiniMax-H3 Context-IR peningkatan prompt","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/context-ir"},{"title":"MiniMax-H3 Regeneration","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/minimax-h3/regeneration"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"Pembuatan Video FLUX 3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/flux-3-video/generation"}]},{"group":"SkyReels V4","icon":"video","pages":[{"title":"Pembuatan Video SkyReels V4","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/skyreels-v4/generation"}]},{"group":"HappyHorse","icon":"video","pages":[{"title":"Pembuatan Video HappyHorse 1.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/happyhorse-1.0/generation"},{"title":"Pembuatan Video HappyHorse 1.1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/happyhorse-1.1/generation"}]},{"group":"Wan3.0","icon":"video","pages":[{"title":"Generasi Video Wan3.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan3.0-video/generation"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Pembuatan Video Wan2.7","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7/generation"},{"title":"Wan2.7-R2V Referensi-ke-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7-r2v/generation"},{"title":"Pengeditan Video Wan2.7-VideoEdit","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.7-videoedit/generation"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Pembuatan Video Wan2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.6/generation"},{"title":"Gambar-ke-Video wan2.6-i2v-flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.6/i2v-flash-generation"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"Pembuatan Video wan2.5-preview","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/wan2.5/generation"}]},{"group":"Kling 2.6","icon":"video","pages":[{"title":"Pembuatan Video Kling 2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v2-6/generation"},{"title":"Pembuatan Video Kontrol Gerak Kling v2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v2-6/kling-v2-6-motion-control-generation"}]},{"group":"Kling v3","icon":"video","pages":[{"title":"Pembuatan Video Kling v3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v3/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Pembuatan Video Kling 3.0 Turbo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Pembuatan Video Kling v3 Omni","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling V4","icon":"video","pages":[{"title":"Kling V4 Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v4/generation"}]},{"group":"Kling V4 Flash","icon":"video","pages":[{"title":"Kling V4 Flash Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-v4-flash/generation"}]},{"group":"Kling Video O1","icon":"video","pages":[{"title":"Pembuatan Video Kling Video O1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/kling-video-o1/generation"}]},{"group":"Vidu Q3(pro/turbo)","icon":"video","pages":[{"title":"Pembuatan Video Vidu Q3 (pro/turbo)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q3-pro/generation"}]},{"group":"Vidu Q4 Preview","icon":"video","pages":[{"title":"Vidu Q4 Preview Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q4-preview/generation"}]},{"group":"Vidu Q3(mix/standard)","icon":"video","pages":[{"title":"Referensi-ke-Video Vidu Q3 (mix/standar)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/vidu-q3/generation"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Pembuatan Video Grok Imagine 1.5","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/grok-imagine/generation"},{"title":"Model Video Resmi Grok","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/grok-imagine/official"}]},{"group":"Pixverse v6","icon":"video","pages":[{"title":"Pixverse v6 Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/pixverse-v6/generation"}]},{"group":"PixVerse V6 Max","icon":"video","pages":[{"title":"PixVerse V6 Max Pembuatan Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/pixverse-v6-max/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Pembuatan Video Muse Video Ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/muse-video-ext/generation"}]},{"group":"gemini-omni-1.1-flash-ext","icon":"video","pages":[{"title":"Pembuatan Video gemini-omni-1.1-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/omni-flash-ext/generation"}]},{"group":"gemini-omni-1.2-flash-ext","icon":"video","pages":[{"title":"Pembuatan Video gemini-omni-1.2-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.2-flash-ext/generation"}]},{"group":"Gemini Omni 1.2 Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni 1.2 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.2-flash/generation"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni 1.1 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-1.1-flash/generation"}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"title":"Pembuatan Video Gemini Omni Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/id/api-reference/videos/gemini-omni-flash-preview/generation"}]}]},{"group":"Seri Audio","icon":"microphone","pages":[{"title":"Transkripsi Audio Whisper-1","api":"POST https://api.apimart.ai/v1/audio/transcriptions","href":"/id/api-reference/audios/whisper-1"},{"title":"TTS Text-to-Speech","api":"POST https://api.apimart.ai/v1/audio/speech","href":"/id/api-reference/audios/tts"},{"group":"Flow Music","icon":"music","pages":[{"title":"Membuat Musik","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/flow-music/music"},{"title":"Membuat Musik dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/flow-music/music-lyria-3-5"},{"title":"Membuat Lirik","api":"POST https://api.apimart.ai/v1/music/generations/lyricsFlowMusic","href":"/id/api-reference/audios/flow-music/lyrics"},{"title":"Perpanjangan Musik","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/id/api-reference/audios/flow-music/extend"},{"title":"Perpanjangan Musik dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/id/api-reference/audios/flow-music/extend-lyria-3-5"},{"title":"Penggantian Segmen","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/id/api-reference/audios/flow-music/replace"},{"title":"Penggantian Segmen dengan Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/id/api-reference/audios/flow-music/replace-lyria-3-5"},{"title":"Aransemen Cover","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/id/api-reference/audios/flow-music/cover"},{"title":"Aransemen Cover Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/id/api-reference/audios/flow-music/cover-lyria-3-5"},{"title":"Pemisahan Trek","api":"POST https://api.apimart.ai/v1/music/generations/stemsFlowMusic","href":"/id/api-reference/audios/flow-music/stems"},{"title":"Mengunggah Audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadAudioFlowMusic","href":"/id/api-reference/audios/flow-music/upload-audio"},{"title":"Mengunduh Audio","api":"POST https://api.apimart.ai/v1/music/generations/downloadAudioFlowMusic","href":"/id/api-reference/audios/flow-music/download-audio"},{"title":"Rendering Video Musik","api":"POST https://api.apimart.ai/v1/music/generations/videoClipFlowMusic","href":"/id/api-reference/audios/flow-music/video-clip"},{"title":"Melihat Tugas","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/id/api-reference/audios/flow-music/query"}]},{"group":"Suno","icon":"music","pages":[{"title":"Aturan umum Suno V6 dan kueri tugas","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/id/api-reference/audios/suno/overview"},{"title":"Menghasilkan musik","api":"POST https://api.apimart.ai/v1/music/generations","href":"/id/api-reference/audios/suno/generation"},{"title":"Menghasilkan lirik","api":"POST https://api.apimart.ai/v1/music/generations/lyrics","href":"/id/api-reference/audios/suno/lyrics"},{"title":"Pembuatan inspirasi (inspo)","api":"POST https://api.apimart.ai/v1/music/generations/inspo","href":"/id/api-reference/audios/suno/inspo"},{"title":"Pembuatan efek suara","api":"POST https://api.apimart.ai/v1/music/generations/sounds","href":"/id/api-reference/audios/suno/sounds"},{"title":"Peningkatan tag","api":"POST https://api.apimart.ai/v1/music/generations/upsampleTags","href":"/id/api-reference/audios/suno/upsample-tags"},{"title":"Unggah audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadTask","href":"/id/api-reference/audios/suno/upload"},{"title":"Unggah Audio dan Buat Cover","api":"POST https://api.apimart.ai/v1/music/generations/uploadCover","href":"/id/api-reference/audios/suno/upload-cover"},{"title":"Unggah dan Perpanjang Audio","api":"POST https://api.apimart.ai/v1/music/generations/uploadExtend","href":"/id/api-reference/audios/suno/upload-extend"},{"title":"Buat Model Kustom","api":"POST https://api.apimart.ai/v1/music/generations/createModel","href":"/id/api-reference/audios/suno/create-model"},{"title":"Melanjutkan dan memperpanjang","api":"POST https://api.apimart.ai/v1/music/generations/extend","href":"/id/api-reference/audios/suno/extend"},{"title":"Menyanyikan ulang dengan gaya lain","api":"POST https://api.apimart.ai/v1/music/generations/coverSong","href":"/id/api-reference/audios/suno/cover-song"},{"title":"Optimalisasi mastering","api":"POST https://api.apimart.ai/v1/music/generations/remaster","href":"/id/api-reference/audios/suno/remaster"},{"title":"Ekstraksi trek","api":"POST https://api.apimart.ai/v1/music/generations/stems","href":"/id/api-reference/audios/suno/stems"},{"title":"Pemisahan trek penuh","api":"POST https://api.apimart.ai/v1/music/generations/stemsAll","href":"/id/api-reference/audios/suno/stems-all"},{"title":"Menambahkan vokal","api":"POST https://api.apimart.ai/v1/music/generations/addVocals","href":"/id/api-reference/audios/suno/add-vocals"},{"title":"Menambahkan iringan musik","api":"POST https://api.apimart.ai/v1/music/generations/addInstrumental","href":"/id/api-reference/audios/suno/add-instrumental"},{"title":"Menambahkan trek (add stem)","api":"POST https://api.apimart.ai/v1/music/generations/addStem","href":"/id/api-reference/audios/suno/add-stem"},{"title":"Ekstrak Vox (tidak digunakan lagi)","api":"POST https://api.apimart.ai/v1/music/generations/vox","href":"/id/api-reference/audios/suno/vox"},{"title":"Membuat suara","api":"POST https://api.apimart.ai/v1/music/generations/createVoice","href":"/id/api-reference/audios/suno/create-voice"},{"title":"Persona","api":"POST https://api.apimart.ai/v1/music/generations/persona","href":"/id/api-reference/audios/suno/persona"},{"title":"Penggantian paragraf","api":"POST https://api.apimart.ai/v1/music/generations/replaceMusic","href":"/id/api-reference/audios/suno/replace-music"},{"title":"Menghapus segmen","api":"POST https://api.apimart.ai/v1/music/generations/removeSection","href":"/id/api-reference/audios/suno/remove-section"},{"title":"Memotong audio","api":"POST https://api.apimart.ai/v1/music/generations/crop","href":"/id/api-reference/audios/suno/crop"},{"title":"Fade in","api":"POST https://api.apimart.ai/v1/music/generations/fadeIn","href":"/id/api-reference/audios/suno/fade-in"},{"title":"Fade out","api":"POST https://api.apimart.ai/v1/music/generations/fadeOut","href":"/id/api-reference/audios/suno/fade-out"},{"title":"Menyesuaikan kecepatan","api":"POST https://api.apimart.ai/v1/music/generations/adjustSpeed","href":"/id/api-reference/audios/suno/adjust-speed"},{"title":"Sintesis / penggabungan lagu lengkap","api":"POST https://api.apimart.ai/v1/music/generations/concat","href":"/id/api-reference/audios/suno/concat"},{"title":"Menghasilkan mashup (mashup)","api":"POST https://api.apimart.ai/v1/music/generations/mashup","href":"/id/api-reference/audios/suno/mashup"},{"title":"Sampel menjadi lagu (sample)","api":"POST https://api.apimart.ai/v1/music/generations/sample","href":"/id/api-reference/audios/suno/sample"},{"title":"Menghasilkan MIDI","api":"POST https://api.apimart.ai/v1/music/generations/midi","href":"/id/api-reference/audios/suno/midi"},{"title":"Garis waktu lirik","api":"POST https://api.apimart.ai/v1/music/generations/alignedLyrics","href":"/id/api-reference/audios/suno/aligned-lyrics"},{"title":"Analisis BPM","api":"POST https://api.apimart.ai/v1/music/generations/bpm","href":"/id/api-reference/audios/suno/bpm"},{"title":"Menghasilkan video musik (MV)","api":"POST https://api.apimart.ai/v1/music/generations/generateMp4","href":"/id/api-reference/audios/suno/generate-mp4"},{"title":"Unduh File Audio","api":"POST https://api.apimart.ai/v1/music/generations/download","href":"/id/api-reference/audios/suno/wav"}]}]},{"group":"Seri Moderasi","icon":"shield-check","pages":[{"group":"omni-moderation-latest","icon":"shield-check","pages":[{"title":"omni-moderation-latest Moderasi Konten","api":"POST https://api.apimart.ai/v1/moderations","href":"/id/api-reference/moderations/omni-moderation-latest/generation"}]}]},{"group":"Manajemen Unggahan","icon":"cloud-arrow-up","pages":[{"title":"Unggah Gambar","api":"POST https://api.apimart.ai/v1/uploads/images","href":"/id/api-reference/uploads/images"},{"title":"Unggah Video","api":"POST https://api.apimart.ai/v1/uploads/videos","href":"/id/api-reference/uploads/videos"},{"title":"Unggah Audio","api":"POST https://api.apimart.ai/v1/uploads/audios","href":"/id/api-reference/uploads/audios"}]},{"group":"Manajemen Tugas","icon":"list-check","pages":[{"title":"Dapatkan Status Tugas","api":"GET https://api.apimart.ai/v1/tasks/{task_id}","href":"/id/api-reference/tasks/status"},{"title":"Callback Penyelesaian Tugas (Webhook)","href":"/id/api-reference/tasks/webhook"}]},{"group":"Manajemen Akun","icon":"wallet","pages":[{"title":"Kueri Saldo Token","api":"GET https://api.apimart.ai/v1/balance","href":"/id/api-reference/account/token-balance"},{"title":"Kueri Saldo Pengguna","api":"GET https://api.apimart.ai/v1/user/balance","href":"/id/api-reference/account/user-balance"},{"title":"Kueri biaya dan penggunaan","api":"GET https://api.apimart.ai/v1/usage","href":"/id/api-reference/account/usage"},{"title":"Log Permintaan dan Harga Akun","href":"/id/api-reference/account/request-logs"}]}]},{"tab":"Integrasi","pages":[{"title":"Integrasi","href":"/id/integrations/chat/chatbox"}]},{"tab":"Panduan","pages":[{"title":"Panduan","href":"/id/quickstart"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/id/faqs"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/images/seedream-5-5/generation"}]}]},"basePath":"","title":"Pembuatan Gambar Seedream 5.5 - APIMart","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js"]}