Joyai Image Edit
120.00 credits/MP
ae_joyai_image_edit
Edit an existing image using a text instruction, such as adding, removing, or changing visual details.
120.00 credits/MP
Pricing
120.00 AE credits per MP. Charge for successfully returned images. Charge proportionally to actual pixels. One MP is 1,000,000 pixels.
120.00 credits/MP
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.seed | integer | unknown | No | Random seed for reproducibility. | — |
request_body.prompt | string | Yes | The edit instruction describing what changes to make to the image. | — |
request_body.image_url | string | Yes | URL of the input image to edit. | — |
request_body.sync_mode | boolean | No | If True, return image as data URI. | false |
request_body.output_format | enum (jpeg | png) | No | Output image format. | jpeg |
request_body.guidance_scale | number | No | Controls how closely the output follows the edit instruction. | 5 |
request_body.negative_prompt | string | No | Text describing what should not appear in the output image. | "" |
request_body.num_inference_steps | integer | No | Number of denoising steps. | 30 |
request_body.enable_safety_checker | boolean | No | Enable safety checking on input and output. | true |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_joyai_image_edit' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"prompt": "Add a red hat to the dog",
"image_url": "https://storage.googleapis.com/falserverless/example_inputs/dog.png"
}
}
}'No response example available yet.







