图像系列
创建图片生成请求
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参数不能配置。生成的图片 URL 有效期1个小时,请及时做好转存工作,避免因 URL 过期而影响业务
POST
Authorizations
Use the following format for authentication: Bearer <your api key>
Body
application/json
对应的模型名称。为更好的提升服务质量,我们将不定期对本服务提供的模型做相关变更,包括但不限于模型上下线,价格调整,模型服务能力调整等,我们会在可行的情况下以公告、消息推送等适当的方式进行通知。该模型默认出图为 384*384
分辨率。
Available options:
deepseek-ai/Janus-Pro-7B
prompt
string
default:
requiredan island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea
提示词
随机种子
Required range:
0 < x < 9999999999