Joyai Image Edit
Playground
Try it on WavespeedAI!JoyAI Image Edit transforms images based on text instructions, allowing you to modify backgrounds, adjust colors, add or remove elements, and more. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
Features
JoyAI Image Edit
JoyAI Image Edit transforms any photo with natural language instructions. Describe the change you want — alter styles, shift environments, add fantastical elements, change lighting or atmosphere — and the model applies a rich, imaginative edit while preserving the core structure of your original image.
Why Choose This?
-
Creative, imagination-driven edits Goes beyond simple adjustments — transforms scenes, applies artistic styles, and reimagines environments with vivid, detailed results.
-
Natural-language control Describe the transformation in plain text. The more descriptive your prompt, the richer the output.
-
Preserves original structure Maintains the core composition, subject placement, and spatial layout of your source image while applying the requested transformation.
-
Prompt Enhancer Built-in tool to automatically improve your edit descriptions for richer, more imaginative results.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired transformation or edit. |
| image | Yes | Source image to edit (URL or file upload). |
How to Use
- Upload your image — provide the source photo via URL or drag-and-drop.
- Write your prompt — describe the transformation you want in vivid detail. Use the Prompt Enhancer for richer results.
- Submit — download your transformed image.
Pricing
Just $0.30 per image.
Best Use Cases
- Fantasy & world-building — Transform real environments into magical, surreal, or sci-fi scenes.
- Style transfer — Reimagine photos in watercolor, oil painting, neon, or any artistic style.
- Seasonal & atmospheric changes — Shift environments between seasons, times of day, or weather conditions.
- Creative content — Generate visually striking images for social media, storytelling, and artistic projects.
- Concept visualization — Quickly explore visual directions and alternative treatments of a scene.
Pro Tips
- The more descriptive your prompt, the richer the transformation — include specific colors, textures, lighting, and visual elements you want to see.
- Describe both what should change and what the overall mood or atmosphere should feel like.
- Use the Prompt Enhancer to expand a simple idea into a detailed, evocative edit instruction.
Notes
- Both prompt and image are required fields.
- Ensure image URLs are publicly accessible if using a link rather than a direct upload.
- Please ensure your content complies with WaveSpeed AI’s usage policies.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/joyai-image/edit" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | The edit instruction describing what changes to make to the image. | |
| image | string | Yes | - | URL of the input image to edit. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content (empty when status is not completed). |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |