grok-imagine-image-pro API gambar AI

xAI menyediakan grok-imagine-image-pro untuk pembuatan gambar. Flatkey merutekannya melalui /v1/images/generations. $0.04 per image.

Teks menjadi gambarGambar terpandu referensi
Penyedia
xAI
Harga referensi
$0.050 / gambar
Harga Flatkey
$0.040 / gambar-20%
Penyiapan generator · Playground (edit sebelum mendaftar)

Masukan

InstruksiLihat selengkapnya951 / 10000
Prompt cepat
Gambar referensi
Mulai membuat

Keluaran

Pratinjau
Pratinjau gambar

Dibuat dengan Image 2

Ringkasan permintaan

Titik akhir API
POST /v1/images/generations
ID model
grok-imagine-image-pro
Rasio aspek
16:9
Resolusi
1k
Kualitas
medium
Format output
url
Keluaran
1

Hanya pratinjau. Masuk untuk mengirim permintaan ini ke Flatkey.

Pratinjau permintaan
{
  "model": "grok-imagine-image-pro",
  "prompt": "Scene: A monochrome archival railway photograph shows travelers in long coats and hats waiting with suitcases on a rain-dark platform as a steam train approaches. Preserve the canopy, wet pavement, smoke, period clothing, film scratches, and deep perspective while restoring contrast. No readable station signs, logos, modern objects, or watermark.\n\nComposition and restoration: Deliver one 16:9 archival-style still. Preserve the original framing, period-specific construction and restrained tonal range; retain monochrome, sepia or faded color as described. Recover modest detail in faces, clothing and architecture without synthetic sharpening. Keep fine grain and authentic aging consistent across the frame; repair damage without replacing historical features.\n\nAvoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.",
  "n": 1,
  "resolution": "1k",
  "quality": "medium",
  "aspect_ratio": "16:9",
  "response_format": "url"
}

Performa API

grok-imagine-image-pro Keandalan dan ketersediaan API

Telemetri permintaan Flatkey untuk grok-imagine-image-pro akan tampil di sini jika trafik produksi sudah mencukupi.

Rata-rata uptime penyedia
—
30 hari terakhir
Latensi
—
30 hari terakhir
Permintaan
218
Jendela 30 hari
Tren inferensi berhasil

Aktivitas API

grok-imagine-image-pro Penggunaan dan aktivitas permintaan API

Pantau volume permintaan dan aktivitas inferensi berhasil untuk grok-imagine-image-pro pada periode pelaporan terbaru.

Permintaan
218
Jendela 30 hari
Latensi
—
30 hari terakhir
Waktu aktif
—
30 hari terakhir
Tren inferensi berhasilAktivitas

grok-imagine-image-pro harga

grok-imagine-image-pro Harga dan penagihan API

Harga di bawah dihitung dari data harga Flatkey untuk model ini dan grup terlihat yang saat ini dikembalikan oleh API harga kami.

Harga Flatkey

Harga / gambar

Model dari katalog langsung
$0.040 / gambar
Harga / gambar
$0.040 / gambar$0.050 / gambar
Coba prompt
Saldo bersama

Tambah kredit

Tambah kredit

Gunakan saldo dan kunci API Flatkey yang sama untuk model gambar, video, audio, dan teks.

Katalog model
Jenis model
Teks menjadi gambar
API
/v1/images/generations
Dasar penagihan
gambar
Keluaran
1–10

grok-imagine-image-pro generator gambar AI dan API: kemampuan utama

Rute grok-imagine-image-pro dari xAI mendukung teks · gambar. Kategori katalog: Marketing.

grok-imagine-image-pro untuk pembuatan gambar

Ubah brief tertulis menjadi output pembuatan gambar melalui /v1/images/generations.

Alur kerja referensi grok-imagine-image-pro

Gunakan referensi yang ada saat rute grok-imagine-image-pro menerima media atau konteks referensi.

Varian siap kanal grok-imagine-image-pro

Adaptasikan satu konsep menjadi varian yang dibutuhkan toko, kampanye, atau pipeline konten.

Serah-terima produksi grok-imagine-image-pro

Pindahkan hasil yang disetujui dari eksplorasi prompt ke alur generasi Flatkey yang dapat diulang.

Bandingkan

grok-imagine-image-pro Perbandingan API: kemampuan dan akses

Bandingkan fakta katalog grok-imagine-image-pro dengan acuan generasi sebelumnya sebelum mengubah integrasi.

KemampuanGenerasi sebelumnyagrok-imagine-image-pro
PenyediaBelum diverifikasi dalam snapshot katalog inixAI
ModalitasBelum diverifikasi dalam snapshot katalog initeks · gambar
KonteksBelum diverifikasi dalam snapshot katalog iniKatalog tidak mencantumkan jendela konteks
Titik akhir APIBelum diverifikasi dalam snapshot katalog ini/v1/images/generations
PenagihanBelum diverifikasi dalam snapshot katalog ini$0.04 per image

Pilih permintaan yang tepat sebelum integrasi

Periksa alur yang didukung, biaya saat ini, dan kontrak parameter Flatkey.

Estimasi biaya langsung

Dihitung dari konfigurasi saat ini dan tarif katalog jika harga unit tetap tersedia.

Konfigurasi saat ini
medium · 1×
Tarif langsung
$0.040 / gambar
Estimasi permintaan
$0.040

Biaya akhir mengikuti permintaan dan grup akun; harga token atau bertingkat tidak dapat dijadikan satu angka tetap.

Alur dan Model ID

Gunakan hanya alur yang tersedia. Flatkey mempertahankan satu ID publik dan body memilih jenis input.

Tersedia

Teks ke gambar

Buat gambar baru dari teks.

ID model
grok-imagine-image-pro
Endpoint
/v1/images/generations
Tersedia

Gambar berpanduan referensi

Gunakan referensi untuk edit atau variasi.

ID model
grok-imagine-image-pro
Endpoint
/v1/images/generations

Kompatibilitas parameter

Nilai berasal dari konfigurasi yang sama dengan Playground.

nJumlah gambar
Diterima

1–10

Default: 1
resolutionResolusi
Diterima

1k · 2k

Default: 1k
qualityKualitas
Diterima

low · medium

Default: medium
aspect_ratioRasio aspek
Diterima

auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 2:1 · 1:2 · 19.5:9 · 9:19.5 · 20:9 · 9:20

Default: auto
response_formatFormat output
Diterima

url · b64_json

Default: url
imageBatas referensi
Diterima

3 file

Endpoint: /v1/images/generations

Dari tes pertama ke produksi

Gunakan kontrak yang sama di Playground dan API serta tangani validasi, saldo, status, dan hasil.

Siklus permintaan

  1. 1

    Validasi model, prompt, referensi, dan output.

  2. 2

    Kirim permintaan gambar.

  3. 3

    Baca hasil atau tugas asinkron.

  4. 4

    Simpan file dan metadata.

Pemeriksaan produksi

Validasi parameter

Blokir nilai dan referensi yang tidak didukung.

Autentikasi dan saldo

Tangani kunci, saldo, limit, dan harga grup terpisah.

Input ditolak

Tunjukkan prompt atau aset yang harus diganti.

Gagal atau timeout

Simpan task ID, batasi percobaan, dan jangan anggap timeout berhasil.

Pustaka prompt

Contoh prompt grok-imagine-image-pro untuk pembuatan gambar

Mulai dengan prompt grok-imagine-image-pro untuk pembuatan gambar, lalu sesuaikan kolom permintaan yang terlihat di playground.

Interaksi UI game dan pergantian perlengkapan
Interaksi UI game dan pergantian perlengkapan

Scene: A 16:9 desert game equipment screen shows a large rusted mech in a sunlit hangar. A physical hammer stands beside it while a holographic drill-arm replacement and blueprint equipment panel occupy the workbench and right side. Lock the mech silhouette, replacement part positions, warm dust light, and panel hierarchy for a clear equipment swap. No readable words, logos, invented stats, or watermark. Composition and rendering: Deliver one 16:9 game-interface keyframe. Separate the character, held equipment and HUD into clear depth layers; keep slot spacing and icon scale consistent, with the selected item visually dominant. Preserve the scene-specific game art style. Let material edges catch the existing light without letting interface glow obscure the silhouette. Keep all equipment fully inside the frame. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa
Simulasi siaran TV pertandingan olahraga
Simulasi siaran TV pertandingan olahraga

Dibuat dengan Image 2

Scene: A motorsport broadcast frame shows a silver open-wheel race car sweeping around a coastal circuit, with pale mountains and ocean beyond. Leave a clean blank scoreboard area at the left and use realistic track reflections and speed perspective. Keep the car proportions, camera height, road curve, and horizon stable; no real teams, drivers, logos, or watermark. Composition and rendering: Deliver one 16:9 broadcast still at the decisive instant. Use coherent perspective for the playing surface and equipment, readable separation between competitors, and a softer crowd behind the action. Keep the principal subject sharp, with directional blur limited to fast extremities and spray. Preserve the specified broadcast angle and reserve overlay areas clear of the action. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa
TVC merek dan tampilan e-commerce tanpa jeda
TVC merek dan tampilan e-commerce tanpa jeda

Dibuat dengan Image 2

Scene: A clear rectangular perfume bottle with a black cap stands on rippled black satin. A warm amber key light outlines the glass edges and liquid while the background falls into deep shadow. Preserve the square bottle, cap, satin folds, reflections, and generous dark copy space. No readable branding, extra products, hands, or watermark. Composition and rendering: Deliver one 16:9 commercial product still. Keep the complete product silhouette inside generous crop-safe margins. Resolve edges, seams and material transitions precisely; shape highlights to describe volume without clipping bright surfaces or crushing dark details. Align reflections with the object and light source. Retain the stated camera angle and existing negative space; add no decorative props. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa
Karakter sinematik dan pengarahan storyboard
Karakter sinematik dan pengarahan storyboard

Dibuat dengan Image 2

Scene: Under a canvas camp in a desert ruin, an explorer studies a large hand-drawn map with a brass compass while carved stone structures sit beyond the table. Use an over-shoulder composition with tools, crates, sand, and hard afternoon light. Hold the explorer's hands, map orientation, ruins, and camera angle for a storyboard keyframe. No readable labels, logos, or watermark. Composition and rendering: Deliver one 16:9 storyboard keyframe, not a collage or an action sequence. Separate foreground, character plane and background through the existing light and atmospheric depth. Keep the stated pose and eyelines readable, and retain environmental landmarks for continuity. Match the described photographic, illustrated or puppet medium; give fabric and surfaces texture appropriate to that medium. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa
Sketsa komedi dan penceritaan fisik
Sketsa komedi dan penceritaan fisik

Dibuat dengan Image 2

Scene: In a warm apartment, a startled man in a blue shirt tries to balance a tall stack of taped cardboard boxes while more boxes sit open around him. Freeze the harmless tipping moment with clear weight, contact points, soft window light, and a stable wide camera. No injury, readable shipping text, logos, or watermark. Composition and rendering: Deliver one 16:9 physical-comedy still at the described instant. Make the cause of the gag readable through body balance, grip and object spacing. Separate the reaction from the airborne props; retain believable gravity and contact points. Keep the face and important props sharp, with only restrained directional blur on fast edges. Preserve the stated lighting and room or stage layout. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa
Pemulihan foto lama dan penghidupan sejarah
Pemulihan foto lama dan penghidupan sejarah

Dibuat dengan Image 2

Scene: A monochrome archival railway photograph shows travelers in long coats and hats waiting with suitcases on a rain-dark platform as a steam train approaches. Preserve the canopy, wet pavement, smoke, period clothing, film scratches, and deep perspective while restoring contrast. No readable station signs, logos, modern objects, or watermark. Composition and restoration: Deliver one 16:9 archival-style still. Preserve the original framing, period-specific construction and restrained tonal range; retain monochrome, sepia or faded color as described. Recover modest detail in faces, clothing and architecture without synthetic sharpening. Keep fine grain and authentic aging consistent across the frame; repair damage without replacing historical features. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Buat serupa

Mengapa API grok-imagine-image-pro

Mengapa menggunakan grok-imagine-image-pro melalui Flatkey?

Gunakan satu gateway untuk grok-imagine-image-pro, kontrol akun, dan seluruh katalog model lainnya.

grok-imagine-image-pro dalam satu API

Pertahankan model ID dan endpoint grok-imagine-image-pro secara eksplisit dengan kunci Flatkey yang sama untuk workload lain.

Harga katalog live

Lihat dimensi penagihan grok-imagine-image-pro sebelum mengirim permintaan, lalu konfirmasi estimasi akhir di akun.

Serah-terima model praktis

Uji prompt grok-imagine-image-pro di playground publik dan bawa pengaturan yang sama ke integrasi terautentikasi.

Kontrol penggunaan dan rute

Pusatkan kunci, kuota, dan rute grok-imagine-image-pro tanpa mengubah alur kerja aplikasi terhadap penyedia.

grok-imagine-image-pro API

grok-imagine-image-pro Panduan integrasi API

Gunakan model ID di atas dengan /v1/images/generations; pertahankan kolom permintaan dan unit penagihan yang terdokumentasi untuk rute ini.

Kirim permintaan terautentikasi ke /v1/images/generations dengan model disetel ke grok-imagine-image-pro.
Gunakan grok-imagine-image-pro dalam konfigurasi SDK agar rute dan laporan penggunaan menunjuk entri katalog yang benar.
Tinjau $0.04 per image dan batas akun sebelum meningkatkan permintaan grok-imagine-image-pro.
Mulai di playground, lalu gunakan kembali bentuk permintaan dengan kunci API Flatkey di server atau agent.
curl https://router.flatkey.ai/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"grok-imagine-image-pro","prompt":"Creative direction: Create a vertical photoreal pet-food brand hero with a happy golden retriever sitting in a warm, sunlit kitchen. Place a ceramic bowl of kibble in the foreground and a kraft pet-food bag beside the dog, with a blank front panel reserved for later branding. Use soft window light, natural wood and cream tones, a shallow depth of field, and a friendly eye-level composition.\n\nComposition, material and finish: Focus on the dog’s eyes and natural fur direction, keeping the bowl and bag legible within the same composition. Retain grounded paws, believable ceramic highlights and a soft contact shadow beneath the bag. Use the window as the dominant light source and preserve warm kitchen depth. Avoid artificial fur gloss, extra paws, invented label text, food claims and watermarks.","n":1,"resolution":"1k","quality":"medium","aspect_ratio":"auto","response_format":"url"}'
Dokumentasi

Pertanyaan umum

grok-imagine-image-pro API
pertanyaan harga, fitur, dan penggunaan

Jawaban tentang harga, kemampuan, endpoint, dan batas katalog grok-imagine-image-pro.

Untuk apa grok-imagine-image-pro digunakan?
grok-imagine-image-pro tercantum dari xAI untuk pembuatan gambar; modalitas di katalog adalah: teks · gambar.
Bagaimana harga grok-imagine-image-pro?
Gunakan bagian harga di atas untuk melihat harga Flatkey terbaru dari API harga kami.
Endpoint API mana yang memanggil grok-imagine-image-pro?
Flatkey merutekan model ini melalui /v1/images/generations. Atur kolom model ke grok-imagine-image-pro dan gunakan kolom yang didukung.
Apa batas konteks atau input grok-imagine-image-pro?
grok-imagine-image-pro tercantum dengan Katalog tidak mencantumkan jendela konteks. Batas lain bergantung pada rute dan akun; verifikasi sebelum produksi.