Industry-standard open-source image generation model. Highly versatile with excellent community support and fine-tuning options.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "stable-diffusion-xl",
"input": {
"prompt": "Majestic dragon perched on ancient castle ruins, dramatic sunset, epic fantasy art, detailed scales, glowing eyes, masterpiece quality",
"negative_prompt": "blurry, low quality, distorted",
"width": 1024,
"height": 1024,
"num_inference_steps": 30,
"guidance_scale": 7.5
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text description of the image to generate |
negative_prompt | string | No | - | Things to exclude from the image |
width | integer | No | 1024 | Image width (512-1536) |
height | integer | No | 1024 | Image height (512-1536) |
num_inference_steps | integer | No | 30 | Number of denoising steps |
guidance_scale | float | No | 7.5 | Prompt adherence strength (1-20) |
seed | integer | No | - | Random seed for reproducibility |
Create fantasy illustrations
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"model": "stable-diffusion-xl",
"input": {
"prompt": "Majestic dragon perched on ancient castle ruins, dramatic sunset, epic fantasy art, detailed scales, glowing eyes, masterpiece quality",
"negative_prompt": "blurry, low quality, distorted",
"width": 1024,
"height": 1024,
"num_inference_steps": 30,
"guidance_scale": 7.5
}
}'POST /v1/predictions