Get API key

by Krea

Krea's newest model, with a step that plans the picture first

krea/3/editFrom 11 creditsper image · $0.11
  • Up to 8 reference images
  • 10 aspect ratios
  • Create Image
  • Edit Image

About Krea 3

Krea's newest model, with a step that plans the picture first.

Call it with the model name krea/3/edit on POST /jobs/createTask, from 11 credits per image ($0.11).

Introduction

Krea 3 Image editing changes or combines one to eight source images from a plain-language instruction. Krea built Krea 3 for edits first: say what should change and what should stay, and refer to the sources as image 1, image 2 and so on. You set the output shape; every result is about one megapixel.

Choose a mode by starting material

What you haveMode
a written descriptionKrea 3 Text to image
one to eight photos to change or combineKrea 3 Image editing

Key features

Combine people, clothes and places

Up to eight sources in one request. In our example the woman from image 1 wears the paisley dress from image 2 on a canyon deck, with her face and hair kept.

Name sources by number

"The person from image 2" picks the second upload: in our check with a woman as image 1 and a man as image 2, only the man appeared.

Identity holds through big changes

A woman in an office blazer became a 1970s portrait in a wood-panelled den with the same face, braids and framing.

Fashion-level content only

Requests and sources are screened.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 4:5 · 3:4 · 2:3 · 9:16 · 5:4 · 4:3 · 3:2 · 16:9 · 21:9 · Default: 1:1
enable_thinkingNoSpend longer planning the prompt before drawing. Same price. Default: false
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
negative_promptNoThings you don't want to see.
output_formatNoFile type of the result. png · jpeg · Default: png
promptYesSay what to change and what stays the same. Refer to sources as image 1, image 2 and so on.
qualityNoTrades speed and price for finer detail. high · fast · Default: high
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
Standard10.8$0.11

Each task is rounded up to whole credits, so one run at the lowest tier costs 11 credits per image ($0.11).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Virtual try-on and styling

A portrait plus a product photo of a garment becomes a styled shot of that person wearing it.

Restaging and period looks

Move a subject into a new location, era or light while keeping who they are.

Prompt guide & pro tips

Lead with the change

Start with what should change, then one sentence on what stays. For several sources, name each one: "the woman from image 1", "the dress from image 2".

Pick the output shape

The result uses the aspect ratio you choose rather than the source's shape. Match the ratio to the main photo to avoid unwanted cropping.

Mind the source count

State the age of people when you change their era or styling; looks can drift younger or older.

API quick start

Call the Krea 3 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- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model krea/3/edit 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": "krea/3/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "1:1",
    "quality": "high",
    "output_format": "png"
  }
}'

# 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.

Krea 3 API questions

How much does the Krea 3 API cost?

Krea 3 starts at 11 credits ($0.11) per image with Edit Image, its cheapest task. Credits are the same as on the website (1 credit = $0.01), and failed tasks are refunded.

What are the limits of the Krea 3 · Edit Image API?

Aspect ratios: 1:1 · 4:5 · 3:4 · 2:3 · 9:16 · 5:4 +4; Reference images: 8; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

More about Krea 3