Model API'si

Fibo

Fibo ile yazılı veya yapılandırılmış komuttan görsel oluştur.

Model kimliği

Her istekte bunu kullan
bria/fibo/generate

Çalıştır

Girdiye ücret teklifi al, bu teklifle üretimi başlat, ardından işin durumunu sorgula. Önce RAYWAKE_API_KEY değişkenini ayarla; ayrıntılar için Kimlik doğrulama sayfasına bak.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bria/fibo/generate",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "bria/fibo/generate", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Girdi

bria/fibo/generate girdi alanları
AlanTürAçıklama
promptstring
Prompt for image generation.
structured_promptobject
The structured prompt to generate an image from.
image_urlstring (image URL)
Reference image (file or URL).
seedinteger
Random seed for reproducibility.

Varsayılan: 5555

steps_numinteger
Number of inference steps.

Varsayılan: 50

aspect_ratiostring (enum)
Aspect ratio. Options: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9

Varsayılan: 1:1

Seçenekler: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9

negative_promptstring
Negative prompt for image generation.
resolutionstring (enum)
Output image resolution

Varsayılan: 1MP

Seçenekler: 1MP, 4MP

sync_modeboolean
If true, returns the image directly in the response (increases latency).

Varsayılan: false

Çıktı

Başarılı bir iş, sonuçlarını outputs altında listeler; dosyalar bizim tarafımızda saklanır. Tüm alanlar için İşler sayfasına bak.

İş yanıtından bir bölüm
"outputs": [
  { "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]

Fiyatlandırma

  • en fazla, varsayılan ayarlar$0,07/ üretim

Girdinin kesin ücreti ücret teklifinden gelir. Bakiye nasıl kesinleşir?