BinerAI · Models · Docs · Pricing

ai-forever / kandinsky-2

text2img model trained on LAION HighRes and fine-tuned on internal datasets

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

FieldTypeDescription
seedintegerRandom seed. Leave blank to randomize the seed
widthstring, default 512Choose width. Lower the setting if out of memory.
heightstring, default 512Choose height. Lower the setting if out of memory.
promptstring, default "red cat, 4k photo"Input Prompt
schedulerstring, default "p_sampler"Choose a scheduler
batch_sizestring, default 1Choose batch size. Lower the setting if out of memory.
prior_stepsstring, default "5"
output_formatstring, default "webp"Format of the output images
guidance_scalenumber, default 4Scale for classifier-free guidance
output_qualityinteger, default 80Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
prior_cf_scaleinteger, default 4
num_inference_stepsinteger, default 50Number 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.