Generate(图片生成-SD2)
POST
/sd/v2beta/stable-image/generate/core通过AI进行图片绘制
详细用法请参考官方文档:https://platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1core/post
价格:0.1PTC/次
请求参数
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.
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.
A blurb of text describing what you do not wish to see in the output image.
A specific value that is used to guide the 'randomness' of the generation. (Omit this parameter or pass 0 to use a random seed.)
Enum: 3d-model analog-film anime cinematic comic-book digital-art enhance fantasy-art isometric line-art low-poly modeling-compound neon-punk origami photographic pixel-art tile-texture
Guides the image model towards a particular style.
示例代码
返回响应
{}