GET

/v1/schemas/fal/image/rundiffusion-fal/rundiffusion-photo-flux

kind inputactivity imagehash c81172fc…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
a3c56bd50384335697449695a6f0e038c1a3df9d07b3c954370958c03221849b
{
  "fetchedAt": 1783331098,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

11 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
prompt*stringThe prompt to generate an image from.
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
image_sizeImageSize | enumThe size of the generated image.default: "landscape_4_3"
output_formatenumThe format of the generated image.jpeg | png · default: "jpeg"
lorasLoraWeight[]The LoRAs to use for the image generation. You can use any number of LoRAs and they will be merged together to generate the final image.default: []
sync_modebooleanIf set to true, the function will wait for the image to be generated and uploaded before returning the response. This will increase the latency of the function but it allows you to get the image directly in the response without going through the CDN.default: false
guidance_scalenumberThe CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.0 ≤ n ≤ 35 · default: 3.5
num_inference_stepsintegerThe number of inference steps to perform.1 ≤ n ≤ 50 · default: 28
photo_lora_scalenumberLoRA Scale of the photo lora modeldefault: 0.75
seedintegerThe same seed and the same prompt given to the same version of the model will output the same image every time.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.default: true

Types

2 $defs

ImageSizeobject

heightintegerThe height of the generated image.0 < n ≤ 14142 · default: 512
widthintegerThe width of the generated image.0 < n ≤ 14142 · default: 512

LoraWeightobject

path*stringURL or the path to the LoRA weights.
scalenumberThe scale of the LoRA weight. This is used to scale the LoRA weight before merging it with the base model.0 ≤ n ≤ 4 · default: 1

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"rundiffusion-fal/rundiffusion-photo-flux","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}