Search-and-recolor
POST
/sd/v2beta/stable-image/edit/search-and-recolorSearch-and-recolor provides the ability to change the color of specific objects in an image using prompts. This service is a specific version of image retouching that does not require masking. The search and recolor service will automatically segment the objects and recolor them with the color specified in the prompt.
For details, please view: https://platform.stability.ai/docs/api-reference#tag/Edit/paths/~1v2beta~1stable-image~1edit~1search-and-recolor/post
Price: 0.1 PTC / call
请求参数
Header Params
Content-Type
string
required
Example:
multipart/form-data
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
select_prompt
string
required
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 个月前