Create image
Creates an image response for the given prompt. The URL for the generated image is valid for one hour. Please make sure to download and store it promptly to avoid any issues due to URL expiration.
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 <= 4
number of inference steps
1 <= x <= 100
This 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 <= 20
negative prompt
0 <= x <= 9999999999
The image that needs to be uploaded should be converted into base64 format.