falImage to imageComing soon

fal-ai/ip-adapter-face-id

fal-ai/ip-adapter-face-id 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
model_typeone of
1_5-v1, 1_5-v1-plus, 1_5-v2-plus, SDXL-v1, SDXL-v2-plus, 1_5-auraface-v1
1_5-v1The model type to use. 1_5 is the default and is recommended for most use cases.
prompt requiredtext—The prompt to use for generating the image. Be as descriptive as possible for best results.
face_image_urltext—An image of a face to match. If an image with a size of 640x640 is not provided, it will be scaled and cropped to that size.
face_images_data_urltext— URL to zip archive with images of faces. The images embedding will be averaged to create a more accurate face id.
negative_prompttextblurry, low resolution, bad, ugly, low quality, pixelated, interpolated, compression artifacts, noisey, grainy 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).
seednumber (whole)— The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time.
guidance_scalenumber
0 to 16
7.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.
num_inference_stepsnumber (whole)
1 to 200
50 The number of inference steps to use for generating the image. The more steps the better the image will be but it will also take longer to generate.
num_samplesnumber (whole)
1 to 4
4 The number of samples for face id. The more samples the better the image will be but it will also take longer to generate. Default is 4.
widthnumber (whole)
512 to 1024
512 The width of the generated image.
heightnumber (whole)
512 to 1024
512 The height of the generated image.
face_id_det_sizenumber (whole)
64 to 640
640 The size of the face detection model. The higher the number the more accurate the detection will be but it will also take longer to run. The higher the number the more likely it will fail to find a face as well. Lower it if you are having trouble finding a face in the image.
base_1_5_model_repotextSG161222/Realistic_Vision_V4.0_noVAEThe URL to the base 1.5 model. Default is SG161222/Realistic_Vision_V4.0_noVAE
base_sdxl_model_repotextSG161222/RealVisXL_V3.0The URL to the base SDXL model. Default is SG161222/RealVisXL_V3.0

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/ip-adapter-face-id",
    "input": {
      "prompt": "Man cyberpunk, synthwave night city, futuristic, high quality, highly detailed, high resolution, sharp, hyper realistic, extremely detailed"
    }
  }'