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
prompt*prompt

Image description.

Type
string
Default
—
Allowed
up to 10000 chars
aspectRatioaspectRatio
Type
string
Default
1:1
Allowed
1:1, 4:3, 3:4, 16:9, 9:16
providerOptionsproviderOptions
Type
object
Default
—
Allowed
object

Cost

from 3 tokens
Standard · 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

Modestext_to_image
Get API key

Where to use this model