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 pending

Pricing

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

FieldKindDefaultDescription
image_archive_url requiredtext—The URL of the image archive containing the images you want to use.
prompt requiredtext—The prompt to use for generating the image. Be as descriptive as possible for best results.
base_pipelineone of
photomaker, photomaker-style
photomakerThe base pipeline to use for generating the image.
initial_image_urltext—Optional initial image for img2img
initial_image_strengthnumber
0 to 1
0.5How much noise to add to the latent image. O for no noise, 1 for maximum noise.
styleone of
(No style), Cinematic, Disney Character, Digital Art, Photographic, Fantasy art, Neonpunk, Enhance, Comic book, Lowpoly, Line art
Photographic
negative_prompttext 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_stepsnumber (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_strengthnumber (whole)
15 to 50
20
num_imagesnumber (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_scalenumber
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.
seednumber (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"
    }
  }'