post https://api.siliconflow.cn/v1/images/generations
Creates an image response for the given prompt.
Log in to see full request history
Responses
Creates an image response for the given prompt.
xxxxxxxxxx
11curl --request POST \
--url https://api.siliconflow.cn/v1/images/generations \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"model": "black-forest-labs/FLUX.1-schnell",
"prompt": "an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
"image_size": "1024x1024"
}
'
xxxxxxxxxx
11{
"images": [
{
"url": "string"
}
],
"timings": {
"inference": 0
},
"seed": 0
}