GET
/v1/schemas/fal/image/krea/v2/medium/turbo/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace48f274cde675466d4a9434ba5313d880a79d796ab60508cbc466da7caa747c29{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 1 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text description of the image to generate. | length ≥ 1 · length ≤ 5000 |
| aspect_ratio | enum | Aspect ratio of the generated image. | 1:1 | 4:3 | 3:2 | 16:9 | 2.35:1 | 4:5 · +2 more · default: "1:1" |
| image_style_references | ImageStyleReference[] | Optional list of reference images that guide the style of the generated image. At most 10 entries. | items ≤ 10 · default: [] |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| creativity | enum | Controls how loosely the model interprets the prompt. Higher values produce more creative results that may drift from the prompt; lower values stay closer to the prompt. | raw | low | medium | high · default: "medium" |
| moodboards | Moodboard[] | Optional moodboard to apply to the generation. Krea currently accepts at most one moodboard per request. Each entry references a moodboard by `id` (UUID). | items ≤ 1 · default: [] |
| styles | Style[] | Optional list of Krea preset styles (LoRA-based) to apply. Each entry references a style by `id` from the Krea styles catalog. At most 10 entries. | items ≤ 10 · default: [] |
| seed | integer | Random seed for reproducible generation. | nullable |
Types
3 $defsImageStyleReferenceobject
| image_url* | string | Publicly accessible URL of a reference image. | |
| strength | number | How strongly the reference influences the generated image. Negative values push away from the reference. | -2 ≤ n ≤ 2 · default: 1 |
Moodboardobject
| id* | string | Krea moodboard identifier (UUID). | |
| strength | number | How strongly the moodboard influences the generated image. | 0 ≤ n ≤ 1 · default: 0.23 |
Styleobject
| id* | string | Krea style identifier (a LoRA-based preset style) returned by the Krea styles catalog. | |
| strength | number | How strongly the style influences the generated image. Negative values push away from the style. | -2 ≤ n ≤ 2 · default: 1 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"krea/v2/medium/turbo/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}