モデル: Kwai-Kolors/Kolors
プロンプトに基づいて生成可能、またはプロンプトと画像に基づいて生成可能
無料生成
Request
Body Params multipart/form-data
Request Code Samples
curl --location --request POST 'https://api.302.ai/siliconflow/v1/images/generations' \
--header 'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--form 'model="Kwai-Kolors/Kolors"' \
--form 'negative_prompt=""' \
--form 'image_size="1024x1024"' \
--form 'batch_size="1"' \
--form 'seed="1"' \
--form 'num_inference_steps="50"' \
--form 'guidance_scale="7.5"' \
--form 'image="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/2wBDAAcFBQYFBAcGBgYIBwcICxILCwoKCxYPEA0SGhYbGhkWGRgcICgiHB4mHhgZIzAkJiorLS4tGyIyNTEsNSgsLSz/2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz/wAARCAQ2BDYDASIAAhEBAxEB/8QAHAAAAgMBAQEBAAAAAAAAAAAAAwQBAgUABgcI/8QARBAAAgIBAwMDAwMDAgUCBAILAQIAAxEEEiEFMUETIlEGMmEUcYEjQpEVoQckM1KxYsEWQ9HhJTRTcvDxkhcmgqKyVP/EABsBAAMBAQEBAQAAAAAAAAAAAAECAwAEBQYH/8QAJhEAAwEAAgMBAAMAAwEBAQAAAAECEQMhBBIxQRMiURQyYQVxQv/aAAwDAQACEQMRAD8A+uzpM6IOVIzJk4nGYwMnmWyJO3JnEDMUxGROPM7EkRjE59sgid5nTGOI+J2J06bTFZxlj8TjiYYgCSBiQDJmFLD4k4GPtkCTMMcBIIkzjFFIlhKywjLMGInTpOITHCS3aQBLLjzAY5vA8mLdRUikftGcjIi/U2/o/wATj8j4dvjfTwHUhnVHLRLaNsd6ln9S8ziTuInnTXZ7DXXRJJEqbG7bsCS1njbKYB7zo05qRzWbf7szg2e64Eg1hv7YQ0HYCF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T0dO5APnieouT+unzVeP/fC3S+m3a3WhKV5AzNLqdN+j0xqtTB8Ga305o20mo9Uq2MTS+qBprejO5ZQ47DzOT+X2o768b149PmJO7IPgwfIaEICk4g8ktj4nqwz53m6YReVyZBbnAnLk8SQBKfpJkD5lxIxiQWwsYV/CTg8FoVdgzvbAxJ09Rtq3+0jtGFpoX+lYrWOPecLwB+ZgJlKm1FSlUXKHsYW/Rf8ALjUad/UI+9PzCWaipkHp+1F7wH6w0anfp1wD3B7GKZoW5A5XB+IMkHtCWN6tpPbJziD2k5C/zGCUIyeIQHsB5lBLAjPHiYwVqx5lK2ehhYjsjjsQ3icST/dImRNksc2F27vy37zpUEmdCE/Zs6VyZ2YBkzm+6cDmVkgQhIJlm/uk4EgwAZAHMkTh906YQmVMtOmMUlpMrumMST7p392ZXeZbEUxMggHmcBlsS2wRgosfsAEoAR3l8gKB5lTAMyT9soDiT+JxhYhKjPJhAABBrJzFGRxPu4kiVlh9sYLOIlsezMrJXtFFRCjJgtdhacfgw2dpivV2I0hI+JyeU+jv8ZdnzvqRB1lg8ExWtgOIxqwW1Dn8mLEYaeVP09vP6nFvdO7tOAz
Responses
application/json {
"created": 1749693932,
"data": [
{
"url": "https://file.302.ai/gpt/imgs/130f255597b6d814d4a2c5403990feea.png"
}
],
"images": [
{
"url": "https://file.302.ai/gpt/imgs/130f255597b6d814d4a2c5403990feea.png"
}
],
"seed": 2,
"shared_id": "0",
"timings": {
"inference": 0.681
}
}
Modified at 2025-06-16 03:51:29