falImage to imageComing soon
fal-ai/photomaker
fal-ai/photomaker is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
image_archive_url required | text | — | The URL of the image archive containing the images you want to use. |
prompt required | text | — | The prompt to use for generating the image. Be as descriptive as possible for best results. |
base_pipeline | one of photomaker, photomaker-style | photomaker | The base pipeline to use for generating the image. |
initial_image_url | text | — | Optional initial image for img2img |
initial_image_strength | number 0 to 1 | 0.5 | How much noise to add to the latent image. O for no noise, 1 for maximum noise. |
style | one of (No style), Cinematic, Disney Character, Digital Art, Photographic, Fantasy art, Neonpunk, Enhance, Comic book, Lowpoly, Line art | Photographic | |
negative_prompt | text | 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). | |
num_inference_steps | number (whole) 20 to 100 | 50 | 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. |
style_strength | number (whole) 15 to 50 | 20 | |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate in one request. Note that the higher the batch size, the longer it will take to generate the images. |
guidance_scale | number 1 to 10 | 5 | 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. |
seed | number (whole) | — | The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/photomaker",
"input": {
"image_archive_url": "https://storage.googleapis.com/falserverless/model_tests/photomaker/elon.zip",
"prompt": "instagram photo, portrait photo of a man img, colorful, perfect face, natural skin, hard shadows, film grain"
}
}'