Generate(图片生成-SD3-Ultra)
POST
/sd/v2beta/stable-image/generate/ultra通过AI进行图片绘制,使用模型SD3-Ultra
详细用法请参考官方文档:https://platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1ultra/post
价格:0.15PTC/次
请求参数
Header Params
Content-Type
string
required
Example:
multipart/form-data
Accept
string
required
Example:
image/*
Authorization
string
required
Example:
Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
prompt
string
required
What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.
negative_prompt
string
optional
A blurb of text describing what you do not wish to see in the output image.
aspect_ratio
string
optional
Default: 1:1 Enum: 16:9 1:1 21:9 2:3 3:2 4:5 5:4 9:16 9:21 The aspect ratio of the generated image.
Example:
1:1
seed
number
optional
A specific value that is used to guide the 'randomness' of the generation. (Omit this parameter or pass 0 to use a random seed.)
Example:
0
output_format
string
optional
jpeg or png
Example:
png
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 1 个月前