Sketch
POST
/sd/v2beta/stable-image/control/sketchSketch service offers a perfect solution for design projects that require frequent brainstorming and iteration. It can transform rough hand-drawn sketches into refined outputs, allowing for precise control. For non-sketch images, the service can also utilize the outlines and edges within the image to perform detailed visual adjustments.
For details, please view: https://platform.stability.ai/docs/api-reference#tag/Control/paths/~1v2beta~1stable-image~1control~1sketch/post
Price: 0.1 PTC / call
请求参数
Header Params
Accept
string
required
Example:
image/*
Authorization
string
required
API Key from 302.AI backend
Example:
Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
image
file
required
prompt
string
required
What you wish to see in the output image
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: Binaryapplication/octet-stream
Example
Not configured
Last modified: 2 个月前