edit_image
Modify an image using Qwen 2 by providing a prompt and source image URL, then receive a task ID, status, and output URLs.
Instructions
Create a Qwen 2 task on RunAPI (edit image). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Declared type: integer. | |
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | Declared type: string. | |
| timeout_ms | No | ||
| aspect_ratio | No | Declared type: string. Known values: "1:1", "2:3", "3:2", "3:4", "4:3", "9:16", "16:9", "21:9". | |
| callback_url | No | Declared type: string. | |
| output_format | No | Declared type: string. Known values: "jpeg", "png". | |
| poll_interval_ms | No | ||
| source_image_url | Yes | Declared type: string. | |
| enable_safety_checker | No | Declared type: boolean. |