GET
/v1/schemas/fal/image/fal-ai/photomaker
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace51635caac55f06bfca28fb6a61e85a996066d91fd5a89ac4ad7fe233b5d5b276{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
13 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to use for generating the image. Be as descriptive as possible for best results. | |
| image_archive_url* | string | The URL of the image archive containing the images you want to use. | |
| style_strength | integer | 15 ≤ n ≤ 50 · default: 20 | |
| initial_image_strength | number | How much noise to add to the latent image. O for no noise, 1 for maximum noise. | 0 ≤ n ≤ 1 · default: 0.5 |
| guidance_scale | number | The 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. | 1 ≤ n ≤ 10 · default: 5 |
| num_images | integer | Number of images to generate in one request. Note that the higher the batch size, the longer it will take to generate the images. | 1 ≤ n ≤ 4 · default: 1 |
| style | enum | (No style) | Cinematic | Disney Character | Digital Art | Photographic | Fantasy art · +5 more · default: "Photographic" | |
| num_inference_steps | integer | Increasing the amount of steps tells Stable Diffusion that it should take more steps to generate your final result which can increase the amount of detail in your image. | 20 ≤ n ≤ 100 · default: 50 |
| negative_prompt | string | The negative prompt to use.Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). | default: "" |
| seed | integer | The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. | nullable |
| initial_image_url | string | Optional initial image for img2img | nullable |
| base_pipeline | enum | The base pipeline to use for generating the image. | photomaker | photomaker-style · default: "photomaker" |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/photomaker","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}