图像系列
创建图片生成请求
Creates an image response for the given prompt. Currently, FLUX.1-schnell serires and stable-diffusion-3-5-large-turbo model only support 4 steps.
根据给定的提示生成图片响应。目前,FLUX.1-schnell 系列和 stable-diffusion-3-5-large-turbo 模型仅支持 4 步生成,对应的num_inference_steps参数不能配置。
POST
/
images
/
generations
Authorizations
Use the following format for authentication: Bearer <your api key>
Body
application/json
对应的模型名称。为更好的提升服务质量,我们将不定期对本服务提供的模型做相关变更,包括但不限于模型上下线,价格调整,模型服务能力调整等,我们会在可行的情况下以公告、消息推送等适当的方式进行通知。
Available options:
stabilityai/stable-diffusion-3-5-large
prompt
string
default: an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the searequiredAvailable options:
1024x1024
, 512x1024
, 768x512
, 768x1024
, 1024x576
, 576x1024
Required range:
1 < x < 4
Required range:
1 < x < 50
Required range:
0 < x < 20
Required range:
0 < x < 9999999999
Rewrite prompts into detailed, model-friendly versions when switched on.