Stability AI Fast Sdxl Image To Image

6 credits/call
ae_fast_sdxl_image_to_image

ae_fast_sdxl_image_to_image — Transform a reference image with a text prompt using WaveSpeed Z-Image-Turbo Image-to-Image. Provide an image URL and prompt; optionally set transformation strength, output size (width*height), JPEG/PNG/WebP format, and seed. Higher strength changes the reference image more. Generation runs asynchronously. The tool identifier is retained, but the current model is not SDXL and legacy SDXL-specific or advanced controls are not supported.

Image
6 credits/call

Pricing

6 credits/call
ConditionCharge
Each call6 credits/call

The fixed fee is 6 credits per call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedintegerNoThe random seed to use for the generation. -1 means a random seed will be used.—
request_body.sizestringNoThe size of the generated media in pixels (width*height).1024*1024
request_body.imagestringYesReference image URL to guide the generation style or composition.—
request_body.promptstringYesThe positive prompt for the generation.—
request_body.strengthnumberNoControls the strength of the transformation. Higher values produce outputs more different from the input image.0.6
request_body.output_formatenum (jpeg | png | webp)NoThe format of the output image.jpeg

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit 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_fast_sdxl_image_to_image' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image": "https://agentearth.ai/fileserver/file/bf080e9f-1537-4646-b4fb-211ca3ffa481.jpg",
      "output_format": "jpeg",
      "prompt": "photorealistic high resolution aerial site photography of this park masterplan, real grass texture, real trees and shrubs, realistic rock and gravel quarry edges, natural blue pond water with reflections, tiered cylindrical waterfall structure, real stone paving ring path, timber deck, white tents and umbrellas with realistic materials, blue water channel, natural sunlight and soft shadows; STRICTLY preserve the exact top-down orthographic view, the exact layout, position, shape, size and proportional relationship of every element, no added or removed or moved objects, no perspective change, no cartoon, no low-poly",
      "seed": 12345,
      "size": "1536*781",
      "strength": 0.45
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "ae3e0d0c-3651-4980-a112-62e20ffae31d"
}

This example shows part of the response. Copied content is valid JSON.