All models

Stable Diffusion 1.5

Stability AI

512px image previews.

PreviewVerified workspaces · Africa processing · AWS Cape Town, South Africa

What you can build.

Capabilities available in your workspace.

InputText
OutputImage
  • Text-to-image generation
  • Base64 PNG output
  • Queued image previews

Know the limits.

Output
One 512 × 512 PNG per request
Generation
25 steps with content filtering
Not supported
SDXL, video or larger output sizes
Full service notes

One 512×512 PNG, 25 steps; queued preview with content filtering. No SDXL or video.

Requests share your workspace’s allowance, rate limit and concurrency limit. Backend capacity varies; some GPU services warm up on demand. Model access does not guarantee immediate capacity.

Make your first request.

Use a server-side workspace API key from Platform → API keys. Examples use https://api.embiro.ai/v1 and the API model ID.

API model IDsd15

POST/v1/images/generations

This is the 512px image preview. Larger sizes and video are not enabled.

# Set EMBIRO_API_KEY in your shell first.
: "${EMBIRO_API_KEY:?Set your workspace API key first}"
curl --fail-with-body --silent --show-error "https://api.embiro.ai/v1/images/generations" \
  -H "Authorization: Bearer $EMBIRO_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "sd15",
  "prompt": "A ceramic coffee cup on a wooden table, soft morning light",
  "n": 1,
  "size": "512x512",
  "response_format": "b64_json"
}
JSON
What comes back

A base64 PNG in data[0].b64_json. The JavaScript example saves image.png.

Cold starts, errors and safe retries
  • Use the Queued job example when a request can wait for compute. Save its ID and poll that job.
  • For 401/403, check the key and its model permissions. For 400, check the request and format limits.
  • Respect Retry-After on 429/503. A timeout after dispatch can be ambiguous; check request logs before submitting again.
  • These examples do not automatically retry paid work. A job retry must reuse the saved idempotency key and identical payload.
Open API reference

Under the hood.

Publisher specifications. These do not override the Embiro service limits above.

Published context
Not specified
Parameters
Pipeline
Model size
Light

This is an image pipeline; text-model context and parameter size bands do not describe its serving limits.

Read the publisher’s model card

No verified benchmark scores are listed in this catalogue for this model.