Stability SDXL

Model Information

Display Name: Stability SDXL

API Model ID: stability-ai/sdxl

Category: Text To Image

Description: Stable Diffusion XL (SDXL) is Stability AI's flagship text-to-image model with enhanced photorealism and detail. **Key Features:** - High-quality photorealistic image generation - Supports text-to-image and image-to-image - Resolutions up to 1536x1536 - Multiple aspect ratios supported **Use Cases:** - Product photography and marketing visuals - Artistic illustration and concept art - Photo editing and inpainting - Creative content generation

How to Use This Model

To use Stability SDXL via the HInow.ai API, use the model ID: stability-ai/sdxl

API Request Example (Chat/Text)


POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "stability-ai/sdxl",
  "messages": [
    {"role": "user", "content": "Your message here"}
  ]
}
              

API Request Example (Image Generation)


POST https://api.hinow.ai/v1/images
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "model": "stability-ai/sdxl",
  "prompt": "Your image description here"
}
              

Pricing

  • total: $0.004

Available Parameters

  • aspect_ratio: Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one. (Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21)
  • output_format: Output image format. (Options: jpeg, png, webp)
  • seed: Random seed for reproducibility. -1 for random.

Quick Reference

To use this model, set: "model": "stability-ai/sdxl"

Featured: No

Documentation: https://hinow.ai/models/stability-ai/sdxl

API Endpoint: https://api.hinow.ai/v1

Back to Models

Stability SDXL

stability-ai/sdxl

$0.0040
per image

About

Stable Diffusion XL (SDXL) is Stability AI's flagship text-to-image model with enhanced photorealism and detail.

Key Features:

  • High-quality photorealistic image generation
  • Supports text-to-image and image-to-image
  • Resolutions up to 1536x1536
  • Multiple aspect ratios supported

Use Cases:

  • Product photography and marketing visuals
  • Artistic illustration and concept art
  • Photo editing and inpainting
  • Creative content generation

Capabilities

Text To Image

Parameters

aspect_ratio

Output aspect ratio. All 9 canonical ratios are accepted; if the upstream provider does not natively support a given ratio, the system maps to the closest one.

1:116:99:164:33:43:22:321:99:21
output_format

Output image format.

jpegpngwebp
seed

Random seed for reproducibility. -1 for random.

Code Examples

curl -X POST https://api.hinow.ai/v1/images \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HINOW_API_KEY" \
  -d '{
    "model": "stability-ai/sdxl",
    "prompt": "A beautiful sunset over mountains",
    "parameters": {
      "aspect_ratio": "1:1",
      "output_format": "jpeg",
      "seed": ""
    }
  }'