GetRun by Getcore API Documentation

Docs / image / Seedream 5.0 Flash Image to Image

Seedream 5.0 Flash Image to Image online

Edit gambar dengan instruksi natural dan sampai 10 gambar referensi. Cocok untuk variasi produk, compositing, dan perubahan gaya cepat.

Rp Rp260 / image Rp290 −10.3% ⏱ ±8–60 detik perkiraan waktu seedream/5-flash-image-to-image model id Up to 2KMultilingual textCommercial use

1 · Create a task

Kirim permintaan untuk membuat tugas generasi image. Wajib header Idempotency-Key. Saldo direservasi Rp260; task gagal tidak ditagih.

POSThttps://getrun.id/v1/tasks
curl -X POST https://getrun.id/v1/tasks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: my-task-001" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream/5-flash-image-to-image",
    "input": {
      "size": "1K",
      "prompt": "Turn this into a premium ecommerce poster with a clean studio background.",
      "image_urls": [
        "https://example.com/input.jpg"
      ],
      "aspect_ratio": "1:1",
      "nsfw_checker": true,
      "output_format": "jpeg"
    }
  }'
const res = await fetch('https://getrun.id/v1/tasks', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer YOUR_API_KEY',
    'Idempotency-Key': 'my-task-001',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "seedream/5-flash-image-to-image",
    "input": {
      "size": "1K",
      "prompt": "Turn this into a premium ecommerce poster with a clean studio background.",
      "image_urls": [
        "https://example.com/input.jpg"
      ],
      "aspect_ratio": "1:1",
      "nsfw_checker": true,
      "output_format": "jpeg"
    }
  }),
});
const task = await res.json();
import requests

res = requests.post(
    "https://getrun.id/v1/tasks",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Idempotency-Key": "my-task-001",
    },
    json={
      "model": "seedream/5-flash-image-to-image",
      "input": {
        "size": "1K",
        "prompt": "Turn this into a premium ecommerce poster with a clean studio background.",
        "image_urls": [
          "https://example.com/input.jpg"
        ],
        "aspect_ratio": "1:1",
        "nsfw_checker": true,
        "output_format": "jpeg"
      }
    },
)
task = res.json()

Input parameters

NameTypeRequiredDescriptionExample
size string No
Opsi: 1K 1.5K 2K
1K
prompt string Yes Describe the image to generate or the edit to apply. (max 5000 chars) Turn this into a premium ecommerce poster with
image_urls array Yes https://example.com/input.jpg
aspect_ratio string Yes
Opsi: 1:1 4:3 3:4 16:9 9:16 2:3 3:2 21:9
1:1
nsfw_checker boolean No true
output_format string No
Opsi: jpeg png
jpeg

2 · Poll the result

Ambil status tugas hingga selesai — poll tiap 2–5 detik.

GEThttps://getrun.id/v1/tasks/{task_id}

Respons saat sukses:

{
  "id": "task_9f2c…",
  "status": "succeeded",
  "model": "seedream/5-flash-image-to-image",
  "price": {
    "currency": "IDR",
    "estimated": 260,
    "reserved": 260,
    "final": 260
  },
  "output": {
    "urls": [
      "https://storage.getcore.id/outputs/task_9f2c…/0.png"
    ],
    "expires_at": "(7 hari setelah selesai)"
  }
}

Status values

StatusKeterangan
queuedTugas sedang diantrikan.
processingSedang diproses.
succeededBerhasil.
failedGagal — lihat error detail, tidak ditagih.
Output bertipe image/png, dilayani dari CDN kami dan berlaku 7 hari — salin ke penyimpananmu sendiri untuk jangka panjang.

Best practices

Bila generation gagal, task berstatus failed dengan error.code ternormalisasi (mis. moderation_blocked, upstream_error) dan price.final = 0 — saldo dikembalikan otomatis. Daftar lengkap kode error ada di Error handling. Selalu kirim Idempotency-Key unik per tugas agar retry aman.

Coba tanpa kode: jalankan model ini langsung dari Playground atau lihat di API Market.

On this page
1 · Create a task Input parameters 2 · Poll the result Status values Best practices
Pricing summary
Seedream 5.0 Flash Image to Image
Rp260 / image
  • Harga jelas, pembayaran mudah.
  • Transparan, tanpa biaya tersembunyi.
  • Hemat 10% dibanding harga pembanding.
Try in Playground ↗

Eksperimen model ini langsung di Playground untuk hasil instan.

Model details
Model IDseedream/5-flash-image-to-image
Modalityimage
Typical latency±8–60 detik
Output typeimage/png
API versionv1
Need help?

Lihat daftar error umum di Error handling atau hubungi support@getcore.id.