generate_image_from_image
Transform existing images into new versions using text prompts for style transfer, editing, and creative variations.
Instructions
Transform an existing image into a new image based on a prompt. Use for style transfer, editing, variations, and more. Use upload_file first if you have a local image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | URL of the source image to transform (use upload_file for local images) | |
| prompt | Yes | Text description of desired transformation (e.g., 'Transform into a watercolor painting') | |
| model | No | Image-to-image model. Options: fal-ai/flux/dev/image-to-image, fal-ai/flux-2/edit | fal-ai/flux/dev/image-to-image |
| strength | No | How much to transform (0=keep original, 1=ignore original) | |
| num_images | No | ||
| negative_prompt | No | What to avoid in the output image | |
| seed | No | Seed for reproducible generation | |
| enable_safety_checker | No | Enable safety checker to filter inappropriate content | |
| output_format | No | Output image format | png |