Image Apps V2 Style Transfer
48 credits/call
ae_image_apps_v2_style_transfer
Transform an image into a chosen artistic style or match the style of a reference image.
48 credits/call
Pricing
48 credits/call
| Condition | Charge |
|---|---|
| Each call | 48 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.image_url | string | Yes | Image URL for style transfer | — |
request_body.aspect_ratio | object | No | Aspect ratio model that calculates 4K resolution dimensions | — |
request_body.aspect_ratio.ratio | enum (1:1 | 16:9 | 9:16 | 4:3 | 3:4) | No | Aspect ratio for 4K resolution output | 1:1 |
request_body.target_style | enum (anime_character | cartoon_3d | hand_drawn_animation | cyberpunk_future | anime_game_style | comic_book_animation | animated_series | cartoon_animation | lofi_aesthetic | cottagecore | dark_academia | y2k | vaporwave | liminal_space | weirdcore | dreamcore | synthwave | outrun | photorealistic | hyperrealistic | digital_art | concept_art | impressionist | anime | pixel_art | claymation) | No | No parameter description. | impressionist |
request_body.style_reference_image_url | string | unknown | No | Optional reference image URL. When provided, the style will be inferred from this image instead of the selected preset style. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeySubmit first, then query with the returned task_id until the task completes.
Request coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_image_apps_v2_style_transfer' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://agentearth.ai/fileserver/file/3bb341ca-a9cb-4b6f-9bbf-187d27c36138.png",
"target_style": "animated_series"
}
}
}'Response exampleresponse.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "f7ec8863-157e-4fc5-bfd4-63d99dc29276"
}






