Image
Flux 2 Flex (Edit)
Credit-based pricing. Supports reference images.

Output
image
Aspect ratio
1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21
Resolution
512, 1024, 2048
Inputs
- Reference image (required)
Example prompt
Restyle the subject as a Pixar-quality 3D character; keep the pose and outfit; richly textured fur or fabric; warm cinematic lighting.Try this prompt →
LLM-ready
API & LLM schema
Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/flux-2-flex/edit.
POST
/api/v1/generate16 fields · 3 required| Field | Type | Requirement | Contract |
|---|---|---|---|
model_id | constant | Required | ArtEmotion model identifier. |
extra | object | Optional | Model-specific settings may also be nested here. |
max_credits | number | Optional | Reject before submission if the estimated list price exceeds this cap. · Range: 1–… |
webhook_url | string | Optional | Format: uri |
webhook_secret | string | Optional | Optional model input. |
folder_id | string | Optional | Optional model input. |
prompt | string | Required | Optional model input. |
safety_tolerance | number | Optional | Safety tolerance level — 1 = most strict, 5 = most permissive. · Allowed: 1, 2, 3, 4, 5 · Default: 2 |
num_inference_steps | number | Optional | The number of inference steps to perform. · Default: 28 · Range: 2–50 |
guidance_scale | number | Optional | Guidance Scale — how closely the model follows the prompt. · Default: 3.5 · Range: 1.5–10 |
seed | integer | Optional | The seed to use for the generation. |
enable_safety_checker | boolean | Optional | Whether to enable the safety checker. · Default: true |
output_format | string | Optional | The format of the generated image. · Allowed: jpeg, png · Default: jpeg |
aspect_ratio | string | Optional | Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21 |
resolution | string | Optional | Allowed: 512, 1024, 2048 |
reference_image_url | string | Required | Format: uri |
Minimal request example
{
"model_id": "fal-ai/flux-2-flex/edit",
"prompt": "Restyle the subject as a Pixar-quality 3D character; keep the pose and outfit; richly textured fur or fabric; warm cinematic lighting.",
"reference_image_url": "https://example.com/reference_image"
}Raw JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fflux-2-flex%2Fedit",
"title": "Flux 2 Flex (Edit) generation request",
"description": "Request body accepted by POST /api/v1/generate for fal-ai/flux-2-flex/edit.",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"const": "fal-ai/flux-2-flex/edit",
"description": "ArtEmotion model identifier."
},
"extra": {
"type": "object",
"additionalProperties": true,
"description": "Model-specific settings may also be nested here."
},
"max_credits": {
"type": "number",
"minimum": 1,
"description": "Reject before submission if the estimated list price exceeds this cap."
},
"webhook_url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"webhook_secret": {
"type": "string",
"maxLength": 512
},
"folder_id": {
"type": "string"
},
"prompt": {
"type": "string"
},
"safety_tolerance": {
"title": "Safety Tolerance",
"description": "Safety tolerance level — 1 = most strict, 5 = most permissive.",
"default": "2",
"type": "number",
"enum": [
1,
2,
3,
4,
5
]
},
"num_inference_steps": {
"title": "Steps",
"description": "The number of inference steps to perform.",
"default": 28,
"type": "number",
"minimum": 2,
"maximum": 50,
"multipleOf": 1
},
"guidance_scale": {
"title": "Guidance Scale",
"description": "Guidance Scale — how closely the model follows the prompt.",
"default": 3.5,
"type": "number",
"minimum": 1.5,
"maximum": 10,
"multipleOf": 0.1
},
"seed": {
"title": "Seed",
"description": "The seed to use for the generation.",
"type": "integer"
},
"enable_safety_checker": {
"title": "Enable Safety Checker",
"description": "Whether to enable the safety checker.",
"default": true,
"type": "boolean"
},
"output_format": {
"title": "Output Format",
"description": "The format of the generated image.",
"default": "jpeg",
"type": "string",
"enum": [
"jpeg",
"png"
]
},
"aspect_ratio": {
"type": "string",
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"21:9",
"9:21"
]
},
"resolution": {
"type": "string",
"enum": [
"512",
"1024",
"2048"
]
},
"reference_image_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"model_id",
"prompt",
"reference_image_url"
],
"additionalProperties": false
}FAQ
How much does Flux 2 Flex (Edit) cost on ArtEmotion?
Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.
Do I get my credits back if Flux 2 Flex (Edit) fails?
Yes — failed generations are never charged. The credits are released back to your balance automatically.
Can I call Flux 2 Flex (Edit) from the API?
Yes. Use POST /api/v1/generate with model_id: "fal-ai/flux-2-flex/edit". See the API reference for the full schema.
Where are my generations stored?
Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.
Ready to generate with Flux 2 Flex (Edit)?
Start now →No commitment. New accounts get 50 free credits on signup. See pricing.