Semua model

Recraftv4 Vector

recraft/recraftv4-vector

Mulai cepat

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "recraft/recraftv4-vector",
    "prompt": "<your prompt>"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "recraft/recraftv4-vector", "prompt": "<your prompt>"}'

Contoh

contoh
contoh
contoh
contoh

Parameter

Input
prompt string wajib

Prompt teks yang menjelaskan apa yang akan dibuat.

controls object opsional

Kontrol pembuatan lanjutan (pengaturan gaya, warna, dan artistik).

size string opsional

Dimensi keluaran (lebar × tinggi).

style string opsional

Preset gaya visual yang diterapkan.

substyle string opsional

Varian gaya yang lebih spesifik di dalam gaya yang dipilih.

Output