gpt-image-2-5:yellowtermurahGPT Image 2.5 API — cara menghubungkan dan membayar
GPT Image 2.5 — pembuatan dan pengeditan gambar. Teks-ke-gambar dan gambar-ke-gambar. Dua varian Pixel: Flare (cepat, default) dan Sunburst (presisi).
Perbandingan kanal
7 hari terakhir
gpt-image-2-5:whitedefaultgpt-image-2-5| Kanal | Harga |
|---|---|
Yellow gpt-image-2-5:yellowtermurah | mulai dari $0.008242 per image |
Putih gpt-image-2-5:whitedefault | mulai dari $0.011333 per image |
Pixel gpt-image-2-5 | mulai dari $0.011333 per image |
Buat hasil yang Anda butuhkan
gpt-image-2-5:whiteApa itu GPT Image 2.5
GPT Image 2.5 — pembuatan dan pengeditan gambar. Teks-ke-gambar dan gambar-ke-gambar. Dua varian Pixel: Flare (cepat, default) dan Sunburst (presisi).
Ringkasan kontrak
- Input
- text, image
- Output
- image
- Mode
- asinkron (pekerjaan + polling)
- Polling status
- setiap 3 d · hingga 90 d
Keunggulan
- Harga: per gambar
- Input: teks, gambar
- 5 opsi yang dapat dikonfigurasi
- Satu kunci API untuk pembuatan media
Penggunaannya
- Ilustrasi artikel dan media sosial
- Gambar produk
- Banner dan sampul
- Prototipe desain
Kontrak API
Generasi berjalan secara asinkron: buat pekerjaan, lalu lakukan polling status hingga selesai.
- Buat pekerjaan
- POST /api/media/generate
- Periksa status
- GET /api/media/jobs/{jobId}
- Input
- text, image
- Output
- image
- Polling
- setiap 3 d · hingga 90 d
- Autentikasi
- Authorization: Bearer sk-pv-…
Contoh request
Kirim key Anda dalam header Bearer. API mengembalikan jobId untuk melakukan polling status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"gpt-image-2-5:white","prompt":"a beautiful landscape","opts":{"aspect_ratio":"1:1","resolution":"1K","tier":"flare","mode":"text-to-image"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "gpt-image-2-5:white",
"prompt": "a beautiful landscape",
"opts": {
"aspect_ratio": "1:1",
"resolution": "1K",
"tier": "flare",
"mode": "text-to-image"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);Parameter request API
Parameter untuk request ke GPT Image 2.5 melalui GetVibe API.
promptwajibimage_urlaspect_ratioresolutiontiermodeinput_urlsimage_file_idimage_base64input_file_idsinput_base64| Parameter | Jenis | Nilai | Default | Harga |
|---|---|---|---|---|
promptwajib | text | text description | required | — |
image_url | URL | Public image URL | — | — |
aspect_ratio | option selection | 1:1 (default) · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 | 1:1 | Included in the base price |
resolution | option selection | 1K (default) · 2K · 4K | 1K | 1K: $0.011333, 2K: $0.04, 4K: $0.053333 |
tier | option selection | Flare (fast) (default) · Sunburst (precision) | Flare (fast) | Included in the base price |
mode | option selection | Generate (text → image) (default) · Edit (image → image) | Buat (teks → gambar) | Included in the base price |
input_urls | Array<URLs>, 0–16 items | Public HTTP(S) URLs | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
input_file_ids | Array<strings> | List of values | — | Included in the base price |
input_base64 | Array<strings> | List of values | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Harga dalam USD.
Harga GPT Image 2.5
Biaya GPT Image 2.5: dari $0.011333 per image. Harga dihitung secara dinamis berdasarkan nilai tukar saat ini, dan biaya akhir ditampilkan dalam respons API (priceRub). Pembayaran dalam USD, tanpa langganan.
Biaya request default
Tanpa parameter yang dikirim, request menggunakan nilai berikut: Resolution — 1K, Version and quality — Flare (fast), Mode — Generate (text → image), Frame format — 1:1. Request tersebut berharga $0.011333.
Saluran dan harga untuk setiap kombinasi parameter
Untuk setiap saluran, harga setiap kombinasi parameter. Jumlahnya sama persis dengan biaya untuk satu generasi yang berhasil, dan sama dengan angka dalam tabel yang dapat dibaca mesin yang ditautkan di bawah.
Putihgpt-image-2-5:whitemulai dari $0.011333harga pasti
| Resolusi | 1K | 2K | 4K |
|---|---|---|---|
| Putih | $0.011333 | $0.04 | $0.053333 |
Setiap kombinasi dalam JSON: /api/media/price-table?model=gpt-image-2-5%3Awhite
Pixelgpt-image-2-5mulai dari $0.011333harga pasti
| Resolusi | 1K | 2K | 4K |
|---|---|---|---|
| Pixel | $0.011333 | $0.04 | $0.053333 |
Setiap kombinasi dalam JSON: /api/media/price-table?model=gpt-image-2-5
Yellowgpt-image-2-5:yellowmulai dari $0.008242harga pasti
| Resolusi | 1K |
|---|---|
| Yellow | $0.008242 |
Setiap kombinasi dalam JSON: /api/media/price-table?model=gpt-image-2-5%3Ayellow
README
Kontrak yang dapat dibaca mesin untuk GPT Image 2.5 berisi skema request, operasi, batasan, polling, dan contoh respons.
# GPT Image 2.5
Model publik: gpt-image-2-5:white
Buat pekerjaan: POST /api/media/generate
Periksa status: GET /api/media/jobs/{jobId}
## Parameter input
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `aspect_ratio` (option selection): 1:1 (default) · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9; default: 1:1
- `resolution` (option selection): 1K (default) · 2K · 4K; default: 1K
- `tier` (option selection): Flare (fast) (default) · Sunburst (precision); default: Flare (fast)
- `mode` (option selection): Generate (text → image) (default) · Edit (image → image); default: Generate (text → image)
- `input_urls` (Array<URLs>, 0–16 items): Public HTTP(S) URLs; default: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
- `input_file_ids` (Array<strings>): List of values; default: —
- `input_base64` (Array<strings>): List of values; default: —
## Varian publik
- `gpt-image-2-5:yellow`: Yellow
- `gpt-image-2-5:white`: White
- `gpt-image-2-5`: PixelFAQ tentang API GPT Image 2.5
Berapa biaya GPT Image 2.5?
Harga GPT Image 2.5: dari $0.011333 per image. Harga dihitung secara dinamis berdasarkan nilai tukar saat ini.
Apakah kompatibel dengan OpenAI SDK?
Ya, API ini sepenuhnya kompatibel dengan OpenAI. Cukup ubah base_url menjadi https://getvibeapi.com/v1 dan atur key Anda — kode lainnya tetap sama.
Hubungkan GPT Image 2.5 sekarang
Daftar dalam satu menit, bayar sesuai penggunaan, dengan kode siap pakai di atas.
Dapatkan kunci API