Stability AI Fast Lightning Sdxl

6 credits/call
ae_fast_lightning_sdxl

ae_fast_lightning_sdxl — Generate images with WaveSpeed Z-Image-Turbo from a text prompt, optionally guided by a reference image URL. Set the output size, JPEG/PNG/WebP format, seed, and transformation strength; higher strength produces a result more different from the reference. Generation runs asynchronously, with results retrieved after completion. The retained tool identifier does not indicate the model: this tool uses Z-Image-Turbo, not SDXL, and supports only the controls in the current input schema.

Image
6 credits/call

Pricing

6 credits/call
ConditionCharge
Each call6 credits/call

The fixed fee per call applies to Z-Image-Turbo image generation. Choosing among the currently supported output sizes, reference images, random seeds, transformation strengths, or output formats does not change the fee.

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.imagestringNoURL of the reference image to guide the generation.—
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_lightning_sdxl' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "output_format": "png",
      "prompt": "Flat hand-drawn illustration of one single dark chocolate brown wool blend short coat, front view, no human, two big patch pockets, thick winter fabric, bold clean dark outline, soft watercolor shading, Korean casual womenswear, isolated on pure white background, no shadow, product catalog style, centered, no text",
      "seed": -1,
      "size": "1024*1024"
    }
  }
}'
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": "67606eb4-e59d-49e4-862e-ae01f6285071"
}

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