About FLUX.1 Krea Dev LoRA
FLUX.1 Krea Dev LoRA edit takes image_url, a prompt, optional loras, strength and guidance_scale.
Call it with the model name black-forest-labs/flux-1-krea-dev-lora/edit on POST /jobs/createTask, from $0.024.
Introduction
FLUX.1 Krea Dev LoRA Image editing redraws one source image on FLUX.1 Krea [dev], Black Forest Labs' photographic open-weights model made with Krea, with up to three of your own LoRA files loaded. A strength control sets how far the result moves from the source, and the output keeps the source's aspect ratio.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a written description | FLUX.1 Krea Dev LoRA Text to image |
| a picture to restyle | FLUX.1 Krea Dev LoRA Image editing |
Key features
Restyle with a LoRA
FLUX.1 [dev] LoRAs load here, up to three at once.
Two resolution tiers
1k returns a long side of about 1,000 pixels and 1.5k about 1,500, always in the source's own aspect ratio.
Request parameters
| Parameter | Required | Description |
|---|---|---|
guidance_scale | No | How strictly the model follows the prompt. ≥ 0 · ≤ 20 · Default: 3.5 |
image_url | Yes | The picture to start from. |
loras | No | Add LoRA weights compatible with this model to guide its style or character. Default: [] |
output_format | No | File type of the result. jpeg · png · webp · Default: jpeg |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 1k · 1.5k · Default: 1k |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
strength | No | How far the result may move away from your input. ≥ 0 · ≤ 1 · Default: 0.8 |
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.
| Option | USD per image |
|---|---|
| Standard | $0.024 |
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.
Use cases
New outfits and settings for a shot
Keep the pose and framing of a photo and change what people wear or the time of day, at strength 0.8 to 0.85.
Variations from one source
Keep the prompt and source, change the seed, and get alternate takes in the same light.
Prompt guide & pro tips
Describe the person, not just the change
At strength 0.85 and above faces drift. Repeating who is in the picture ("the same East Asian woman with long straight black hair") kept people recognisable in our tests.
Pick the strength by the job
0.5 keeps the photo and changes details, around 0.7 outfits start to change, 0.8 to 0.85 is a new outfit or light in the same framing, and 1 is a new picture.
Write the whole picture
Describe the image you want back. Short instructions such as "make it night" changed less than a full description of the night scene.
No masks here
This endpoint redraws the whole frame. There is no mask input, so describe everything you want to keep.
API quick start
Call the FLUX.1 Krea Dev LoRA API in three steps
- 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.
- Send the request. POST /jobs/createTask with model black-forest-labs/flux-1-krea-dev-lora/edit and an input object that follows the parameter table. The response returns a task ID straight away.
- 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": "black-forest-labs/flux-1-krea-dev-lora/edit",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"resolution": "1k",
"output_format": "jpeg"
}
}'
# 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.
About the FLUX.1 Krea Dev LoRA Edit Image endpoint
It redraws the whole frame; there is no mask. Strength up to about 0.85 keeps faces and clothing, above that describe them explicitly.
A typical use is moving a daytime snapshot into a new night setting with a filmic, grainy finish.
Style LoRAs land softer than on FLUX.1 Dev, so scales around 1.5 may be needed.
Output is 1k or 1.5k.
guidance_scale is exposed on edits too; lower values give the model more freedom, higher values follow the prompt more literally.
FLUX.1 Krea Dev LoRA API questions
How much does the FLUX.1 Krea Dev LoRA API cost?
FLUX.1 Krea Dev LoRA starts at $0.024 per image with Edit Image, its lowest-priced task. 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 are the limits of the FLUX.1 Krea Dev LoRA · Edit Image API?
Resolutions: 1K · 1.5K; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.