
Output
image
Aspect ratio
1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21, Custom
Resolution
512, 1024, 2048
Example prompt
An adorable tiny dragon chef cooking ramen inside a cozy Japanese street food stand at night, warm lantern light, steam rising dramatically, Pixar-quality 3D character design, ultra detailed textures, cinematic lightingTry 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.
POST
/api/v1/generate15 fields · 2 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, Custom |
resolution | string | Optional | Allowed: 512, 1024, 2048 |
Minimal request example
{
"model_id": "fal-ai/flux-2-flex",
"prompt": "An adorable tiny dragon chef cooking ramen inside a cozy Japanese street food stand at night, warm lantern light, steam rising dramatically, Pixar-quality 3D character design, ultra detailed textures, cinematic lighting"
}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",
"title": "Flux 2 Flex generation request",
"description": "Request body accepted by POST /api/v1/generate for fal-ai/flux-2-flex.",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"const": "fal-ai/flux-2-flex",
"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",
"Custom"
]
},
"resolution": {
"type": "string",
"enum": [
"512",
"1024",
"2048"
]
}
},
"required": [
"model_id",
"prompt"
],
"additionalProperties": false
}FAQ
How much does Flux 2 Flex 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 fails?
Yes — failed generations are never charged. The credits are released back to your balance automatically.
Can I call Flux 2 Flex from the API?
Yes. Use POST /api/v1/generate with model_id: "fal-ai/flux-2-flex". 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?
Start now →No commitment. New accounts get 50 free credits on signup. See pricing.