Playground v2.5

PLAYGROUND_XL

Aesthetics-tuned SDXL fine-tune for 1024px image generation.

Image Generationtext-to-imageplaygroundsdxldiffusionFine-tunable
Playground v2.5: Image Generation model on Kainguru

About Playground v2.5

Playground v2.5 — an aesthetics-tuned SDXL fine-tune for 1024px image generation. Accepts a text prompt and returns a generated image, tuned for strong out-of-the-box visual quality at native SDXL resolution.

Capabilities

  • Text-to-image generation — describe the desired image via prompt
  • Negative prompting — exclude unwanted elements via negative_prompt
  • Configurable resolution — independent width / height up to 2048px
  • Quality/adherence tuning — num_inference_steps and guidance_scale trade off speed, fidelity, and prompt-following
  • Reproducible generations — fix the seed to regenerate the same output
  • Aesthetics-tuned SDXL variant — favors a lower default guidance scale, in line with its EDM-based training

Playground v2.5 inputs and output

NameTypeRequiredDefaultDetails
prompttextYes—Text description of the image to generate.
Min 1 characters
negative_prompttextNo—Elements to exclude from the generated image.
widthintegerNo1024Output image width in pixels.
256–2048
heightintegerNo1024Output image height in pixels.
256–2048
num_inference_stepsintegerNo30Number of denoising steps.
1–100
guidance_scalenumberNo3.0How closely the output follows the prompt. Higher = more prompt-adherent.
0–20
seedintegerNo—Random seed for reproducible generation.
0–2147483647

Output. Returns PNG image: Generated image.

Run Playground v2.5 with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=PLAYGROUND_XL" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A serene Japanese garden with cherry blossoms, soft pastel colors, painterly aesthetic",
    "guidance_scale": 3.0,
    "height": 1024,
    "num_inference_steps": 30,
    "width": 1024
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "PLAYGROUND_XL",
        {
          "prompt": "A serene Japanese garden with cherry blossoms, soft pastel colors, painterly aesthetic",
          "guidance_scale": 3.0,
          "height": 1024,
          "num_inference_steps": 30,
          "width": 1024
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune Playground v2.5

You can fine-tune Playground v2.5 on your own data and run the tuned model through the same API. Dataset: Your training images (5-20 of one concept). Uploaded to S3 and passed to the trainer as a list of file URLs.

The steps are in the docs.

Playground v2.5 pricing

Price per image: 1.019 credits ($0.01019). The price is shown again before every run; all prices are on the pricing page.

Licence and source

SDXL 1.0 Base: Image Generation model on Kainguru
Image Generation

SDXL 1.0 Base

High-resolution text-to-image diffusion at 1024 px from the SDXL 1.0 base model.

Fine-tunable
Z-Image-Turbo: Image Generation model on Kainguru
Image Generation

Z-Image-Turbo

Fast text-to-image with legible English and Chinese text rendered inside the picture.

Stable Diffusion 3.5 Large: Image Generation model on Kainguru
Image Generation

Stable Diffusion 3.5 Large

Text-to-image generation with an MMDiT architecture and strong prompt following.

Fine-tunable
ERNIE-Image: Image Generation model on Kainguru
Image Generation

ERNIE-Image

ERNIE-Image from Baidu: an 8B text-to-image model strong on posters, dense text and multi-panel layouts in English and…

Fine-tunable
GLM-Image: Image Generation model on Kainguru
Image Generation

GLM-Image

GLM-Image from Z.ai: a 16B model that plans the picture with a language model, then draws it with a diffusion decoder…

Fine-tunable
HiDream-O1-Image: Image Generation model on Kainguru
Image Generation

HiDream-O1-Image

HiDream-O1-Image from HiDream.ai: an 8B text-to-image model that paints directly in pixels, with no separate decoder…

Fine-tunable