Same DTO as POST /v1/images. Returns the projected credit cost and a per-line-item breakdown (base + optional enhance) without enqueuing the work. Refs and character_id are free and do not affect price. Inputs are validated identically to the create path: a private LoRA from another team, an inactive LoRA, or an unknown reference URL all return the same error a real POST /v1/images would. Isolated rate-limit bucket (estimate_post, 120/min) so pricing-check loops do not crowd out real generations.
Documentation Index
Fetch the complete documentation index at: https://docs.aurous-labs.com/llms.txt
Use this file to discover all available pages before exploring further.
Your team API key (starts with al_live_ — legacy keys may start with og_).
Optional API version pin (YYYY-MM-DD). Defaults to your team's pinned version, or the system default 2026-05-15 for unauthenticated requests.
^\d{4}-\d{2}-\d{2}$"2026-05-15"
The text prompt describing the image to generate. 1-4000 characters; whitespace-only is rejected.
1 - 4000"A golden sunset over mountains, cinematic lighting, 8k resolution"
Negative prompt - elements to exclude from the generated image. 1-4000 characters.
1 - 4000"blurry, low quality, watermark, text"
Optional. Opaque LoRA identifier (lora_*) or URL-friendly slug, from GET /v1/loras. UUIDs are also accepted for legacy back-compat. If omitted, the platform will choose a suitable style based on your prompt; if none matches, your prompt is generated without a style.
"lora_01HXMQ7Z3K8Y2ABCDEFGHJKM"
Output image width in pixels (ignored if size preset is set)
256 <= x <= 40961024
Output image height in pixels (ignored if size preset is set)
256 <= x <= 40961024
Number of diffusion steps (higher = more detail, slower)
1 <= x <= 10030
Guidance scale - how closely to follow the prompt (higher = more literal)
0.1 <= x <= 307.5
Random seed for reproducible generations. Omit for random.
42
Size preset for the output image. Overrides width/height if set.
square, landscape, portrait, hd_square, hd_landscape, hd_portrait "hd_square"
Number of images to generate in this request
1 <= x <= 41
When true, an LLM rewrites your prompt before generation using the LoRA's style template. This is the only customer-facing prompt-shaping toggle in the public API. Pricing: enhanced generations cost a configurable multiplier of the base rate.
false
Optional webhook URL. When provided, a POST request will be sent to this URL when the generation completes or fails. The payload contains an event field ("image.completed" or "image.failed") and a data field with the generation details (same shape as GET /v1/images/:id). Delivery is attempted up to 3 times with a 2-second delay between retries.
"https://your-server.com/webhooks/aurouslabs"
Up to 6 reference images. Each entry can be either:
file_<ulid> returned by POST /v1/files, orhttps:// URL pointing at a public host (max 2048 chars).
URLs are server-side fetched through an SSRF-pinned client (rejects private IPs / loopback / link-local / cloud metadata) and materialized as a 24h-TTL file under your team. Pricing matches the reference-image rate (see Pricing). Empty array or omitted is treated as "no references".6[
"file_01HXMQ7Z3K8Y2NABCDEFGHJKMN",
"https://example.com/ref2.jpg"
]Cost estimate