All models

Recraft V4.1 Utility

recraft/recraftv4-1-utility
Recraft Image GenerationDesignText Rendering

Recraft V4.1 Utility is a general-purpose text-to-image model balancing quality and flexibility for a wide range of everyday use cases at standard resolution.

Quick start

# 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-1-utility",
    "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-1-utility", "prompt": "<your prompt>"}'

Examples

example
example
example
example
example

Parameters

Input
prompt string required

Text prompt describing what to generate.

controls object optional

Advanced generation controls (style, color, and artistic settings).

size string optional

Output dimensions (width × height).

style string optional

Visual style preset to apply.

substyle string optional

A finer style variant within the chosen style.

Output
image: string