ai-forever / kandinsky-2
text2img model trained on LAION HighRes and fine-tuned on internal datasets
- Price: $0.0004 per second of GPU time, billed from prepaid credit. Failed runs are free.
- License: Apache-2.0
- Source: https://github.com/chenxwh/Kandinsky-2
- Collection: Generate images
- Status: available now
Run ai-forever/kandinsky-2 with the API
curl -s https://binerai.biner.dev/v1/predictions \
-H "Authorization: Bearer $BINERAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"ai-forever/kandinsky-2","input":{}}'
Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.
Input
| Field | Type | Description |
|---|---|---|
seed | integer | Random seed. Leave blank to randomize the seed |
width | string, default 512 | Choose width. Lower the setting if out of memory. |
height | string, default 512 | Choose height. Lower the setting if out of memory. |
prompt | string, default "red cat, 4k photo" | Input Prompt |
scheduler | string, default "p_sampler" | Choose a scheduler |
batch_size | string, default 1 | Choose batch size. Lower the setting if out of memory. |
prior_steps | string, default "5" | |
output_format | string, default "webp" | Format of the output images |
guidance_scale | number, default 4 | Scale for classifier-free guidance |
output_quality | integer, default 80 | Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. |
prior_cf_scale | integer, default 4 | |
num_inference_steps | integer, default 50 | Number of denoising steps |
Examples
Example runs from Replicate.
- An illustration of a quaint garden, watercolor, green and blue, white background output
- a portrait photo of a woman in sunglasses, garden city, summer dress, street photography, detailed, 8k, morning, soft light, bokeh, cool tones, blue sky output
- a film still of a cute bird in a tree from a 2.5d animated movie, sharp focus output
- a beautiful landscape photo, epic, dawn light, 8k, mountains, river, dramatic, award winning output
- Einstein in space around the logarithm scheme output
- red cat, 4k photo output
Description via replicate.