Given a prompt and/or an input image, the model will generate a new image.
Request
Header Params
Body Params application/json
Example
{"model":"qwen-image-edit-2509","prompt":"Put the ducklings on the woman's T-shirt","image":"https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'/v1/images/generations' \
--header'Authorization: Bearer {{YOUR_API_KEY}}' \
--header'Content-Type: application/json' \
--data'{
"model": "qwen-image-edit-2509",
"prompt": "Put the ducklings on the woman'\''s T-shirt",
"image": "https://v3.fal.media/files/penguin/XoW0qavfF-ahg-jX4BMyL_image.webp"
}'