Recraft V4
Recraft V4: raster text-to-image generation without editing. Choose the vector tier for an original SVG, or Recraft V4 Styles for a catalog style.
Cost
from 3 tokens
ImageProvider: Recraft
Try Recraft V4 in Givon AI
Open a working project for regular creation, or use Playground to inspect the model parameters.
Use through API
Request fields, constraints, and ready-to-use examples for developers. The user workflow starts above.
Run generation
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","model":"recraft-v4","input":{"prompt":"studio portrait of a red corgi, soft light","aspectRatio":"1:1"}}'Input fields
* required| Field | Type | Default | Allowed |
|---|---|---|---|
prompt* promptImage description. | string | — | up to 10000 chars |
aspectRatio aspectRatio | string | 1:1 | 1:1, 4:3, 3:4, 16:9, 9:16 |
providerOptions providerOptions | object | — | object |
prompt*
promptImage description.
- Type
- string
- Default
- —
- Allowed
- up to 10000 chars
aspectRatio
aspectRatio- Type
- string
- Default
- 1:1
- Allowed
- 1:1, 4:3, 3:4, 16:9, 9:16
providerOptions
providerOptions- Type
- object
- Default
- —
- Allowed
- object
Cost
from 3 tokensStandard · Rasterdefault3 tk
Pro · Raster18.5 tk
Standard · Vector6 tk
Pro · Vector22 tk
Standard · Raster · Style3 tk
Pro · Raster · Style7.5 tk
Standard · Vector · Style4 tk
Pro · Vector · Style9 tk
The variant is selected automatically from request fields, so you do not need to send it.
Capabilities
Modes
text_to_image