Authorizations
Use the following format for authentication: Bearer <your api key>
Body
Corresponding Model Name. To better enhance service quality, we will make periodic changes to the models provided by this service, including but not limited to model on/offlining and adjustments to model service capabilities. We will notify you of such changes through appropriate means such as announcements or message pushes where feasible.
Kwai-Kolors/Kolors 1024x1024, 960x1280, 768x1024, 720x1440, 720x1280, others number of output images
1 <= x <= 4number of inference steps
1 <= x <= 100This value is used to control the degree of match between the generated image and the given prompt. The higher the value, the more the generated image will tend to strictly match the text prompt. The lower the value, the more creative and diverse the generated image will be, potentially containing more unexpected elements.
0 <= x <= 20negative prompt
0 <= x <= 9999999999The image that needs to be uploaded should be converted into base64 format like "data:image/png;base64, XXX"
"data:image/png;base64, XXX"