Prefect Pony XL delivers high-quality anime-style image generation for character art and illustrations. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Idle

$0.015per run·~66 / $1

A portrait of a young artist with colorful paint splashes across their face, wearing eccentric bohemian clothing, surrounded by abstract graffiti, vibrant tones, high-contrast artistic photo.

A young woman with natural freckles, long flowing hair, dressed in a soft pastel dress, standing in a blooming flower field during golden hour, dreamy sunlight, gentle smile, ethereal atmosphere.

A strong male character with sharp features, wearing a modern leather jacket, standing on a rooftop at night with city lights in the background, wind blowing his hair, epic cinematic shot, dramatic lighting.

A young man with deep brown eyes and tousled hair, leaning against a cherry blossom tree, petals falling around him, warm pastel lighting, dreamy cinematic shot.

A woman with brightly colored hair and geometric face paint, wearing avant-garde layered clothing, dramatic shadows, standing in an abstract art gallery, high-contrast, visually striking portrait.

A mysterious man with half-face mask and golden eye makeup, wearing a black velvet cloak, surrounded by floating lanterns, mystical atmosphere, highly detailed fantasy portrait.

A man with iridescent eyes and sleek silver suit, holding a holographic tablet, neon rain falling around him, reflections on wet streets, dynamic pose, high-definition sci-fi portrait.

A young woman with soft curls, wearing a flowing pastel dress, surrounded by floating flower petals, warm sunlight filtering through trees, dreamy cinematic composition, gentle smile, ethereal atmosphere.

A mysterious woman with neon-colored streaks in her hair, dramatic eyeliner, wearing layered avant-garde clothes, standing in a dark alley with abstract graffiti, high-contrast, visually striking portrait.

A man with half-face tribal makeup, wearing textured leather armor, holding an ancient artifact, mystical fog around him, cinematic fantasy portrait, highly detailed.
Generate stunning, highly stylized images with Prefect Pony XL — a powerful text-to-image model optimized for vibrant, artistic outputs. With customizable dimensions and fast generation, it's perfect for creative projects that demand expressive, eye-catching visuals.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image you want to generate. |
| size | No | Custom dimensions with separate width and height controls. |
| width | No | Output width in pixels (e.g., 1024). |
| height | No | Output height in pixels (e.g., 1024). |
| seed | No | Random seed for reproducibility. Use -1 for random. |
| output_format | No | Output file format: jpeg webp or png. Default: jpeg. |
Flat rate per image generation.
| Output | Cost |
|---|---|
| Per image | $0.015 |
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/prefect-pony-xl with your input as JSON. The endpoint returns a prediction id. Start polling the result endpoint around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. On completed, read URLs from data.outputs. Examples for Prefect Pony Xl below.
# Submit the prediction
curl --fail-with-body --connect-timeout 10 --max-time 60 \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/prefect-pony-xl" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}'
# Wait at least 2 seconds, then poll. Safe GET requests may be retried.
curl --fail-with-body --connect-timeout 10 --max-time 30 \
--retry 4 --retry-all-errors --retry-delay 1 \
-X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# Start at 2 seconds and increase the interval for long-running tasks.
# Stop on completed, failed, cancelled, or timeout.// npm install wavespeed
const { Client } = require('wavespeed');
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
const client = new Client(apiKey);
try {
const result = await client.run("wavespeed-ai/prefect-pony-xl", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}, {
timeout: 3600,
pollInterval: 2.0,
});
console.log(result.outputs);
} catch (error) {
console.error('Generation failed:', error);
process.exitCode = 1;
}# pip install wavespeed
import os
from wavespeed import Client
client = Client(api_key=os.environ["WAVESPEED_API_KEY"])
try:
output = client.run(
"wavespeed-ai/prefect-pony-xl",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"size": "1024*1024",
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
},
timeout=3600.0,
poll_interval=2.0,
)
print(output["outputs"])
except Exception as error:
raise SystemExit(f"Generation failed: {error}") from errorPrefect Pony Xl is a WaveSpeedAI model for image generation, exposed as a REST API on WaveSpeedAI. Prefect Pony XL delivers high-quality anime-style image generation for character art and illustrations. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates production-oriented Python, JavaScript, and cURL examples with timeouts, transient-error handling, and safe GET retries. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/prefect-pony-xl.
Prefect Pony Xl starts at $0.015 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `size`, `seed`, `enable_base64_output`, `enable_sync_mode`, `output_format`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/prefect-pony-xl.
Average end-to-end generation time on WaveSpeedAI is around 11 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.