by Recraft

Icons, diagrams and clean UI illustrations

recraft/v4.1-utility/text-to-image
Recraft V4.1 Utility AI Image Generator online
  • Up to 4 per run
  • Create Image

About Recraft V4.1 Utility

Icons, diagrams and clean UI illustrations.

Call it with the model name recraft/v4.1-utility/text-to-image on POST /jobs/createTask, from $0.02975.

Introduction

Overview

Specify clean silhouettes, grid alignment, and palette cues to produce practical design graphics in seven sizes with Recraft V4.1 Utility.

Usage tips

  • Write clear sentences naming the main subject, materials, lighting direction, and composition for Recraft V4.1 Utility.

Request parameters

ParameterRequiredDescription
sizeNoExact size of the result, in pixels. 1024x1024 · 1365x1024 · 1024x1365 · 1536x1024 · 1024x1536 · 1820x1024 · 1024x1820 · Default: 1024x1024
promptYesDescribe what you want to make.
num_outputsNoHow many results to make in one go. ≥ 1 · ≤ 4 · Default: 1
output_formatNoFile type of the result. png · jpeg · webp · Default: png

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
Standard$0.02975

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the Recraft V4.1 Utility API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model recraft/v4.1-utility/text-to-image and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "recraft/v4.1-utility/text-to-image",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "output_format": "png",
    "num_outputs": 1,
    "size": "1024x1024"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Recraft V4.1 Utility API questions

How much does the Recraft V4.1 Utility API cost?

Recraft V4.1 Utility costs $0.02975 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Recraft V4.1 Utility in the API?

Put recraft/v4.1-utility/text-to-image for Create Image in the model field of POST /jobs/createTask.

Does Recraft V4.1 Utility output SVG files?

No—it renders clean vector-style raster assets as WebP files. If you need editable XML vector paths, use Recraft V4 Vector instead.

Can I create a whole icon set with consistent style?

Yes. Repeat the same three hex-style color names, stroke thickness, and background tint across prompts—or generate up to four variations per call.

What are the limits of the Recraft V4.1 Utility API?

Outputs per call: 1–4; Prompt length (characters): 5,000. Requests outside these limits are rejected before anything is charged.

Can I try Recraft V4.1 Utility without writing code?

Run Recraft V4.1 Utility in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Recraft models

More about Recraft V4.1 Utility