Kolors AI Painting

Kolors AI Painting

Others
HTTP Status Code Explanation
API Online Call
Request Address
https://api.briskapi.com/model/kolors
Request Method
POST
Request Authentication
Content-Type: application/json
Authorization: Bearer {API key}
Request Parameters
  • prompt string required
    Please describe the scene you would like to generate
  • negative_prompt string optional
    Enter any content you want the model to avoid generating—for example, nudity, violence, or other unwanted themes.
  • guidance_scale float optional
    Controls how strongly the model follows the text prompt. Higher values make the output more faithful to your prompt but can reduce creativity. Acceptable range: 0.0–20.0. Default: 5.0
    
  • aspect_ratio string optional
    Sets the width-to-height proportion of the generated image
    default: 9:16
    params: "1:1","3:4","4:3","4:7","7:4","9:16","16:9"
  • sampling_steps int optional
    Number of diffusion (denoising) iterations. More steps yield finer details but increase generation time and resource use. Choose between 0–50. default: 20
  • sampling_method string optional
    The algorithm used during each denoising step. Common options include Euler, DDIM, and LMS, each offering different trade-offs between speed, quality, and creative variation.
    default: DPM++ SDE Karras
    params: "Euler a", "Euler", "DDIM", "DPM++ 2M Karras", "DPM++ SDE Karras"
  • random_seed string optional
    Integer seed for the random number generator, ensuring reproducible outputs when set. Omitting it or using –1 lets the system pick a random seed.
Request Example CURL
curl https://api.briskapi.com/model/kolors \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {API key}" \
-d '{
  "prompt":"A highly detailed, Studio Ghibli–inspired digital painting of Totoro standing beneath a massive, ancient oak tree in a sun-dappled forest clearing. The scene features soft, warm lighting filtering through lush green leaves, gentle mist in the background, and finely textured bark and foliage. Rendered in ultra-realistic style with vibrant, yet pastel-toned colors, volumetric light rays, and a sense of whimsical magic.",
}'
Response Example
{
	"src": "https://.....png"
}
Response Description
  • src string
    Image src URL