Text2Sticker with Laser Engraving Effect
This service generates stickers similar to the standard /text2sticker service, and in addition to that it adds a laser engraving effect. The result images can be as big as 1024x1024 pixels.
Request
- Base URLhttps://genai-api.picsart.io/v1
- URLhttps://genai-api.picsart.io/v1/text2sticker/laserengraving
- AuthAPI key in header X-Picsart-API-Key
Request body
The prompt.
Desired width used to determine the aspect ratio and resolution tier. The actual output width is determined by the AI provider based on the closest matching supported aspect ratio. Supported ratios vary by model (common: 1:1, 4:3, 3:4, 16:9, 9:16, 21:9).
Desired height used to determine the aspect ratio and resolution tier. The actual output height is determined by the AI provider based on the closest matching supported aspect ratio. Supported ratios vary by model (common: 1:1, 4:3, 3:4, 16:9, 9:16, 21:9).
The number of images to generate.
Can be a hexcolor code (e.g., #82d5fa, #fff) or a color name (e.g., blue). For semi-transparency, 4-/8-digit hexcodes are also supported (e.g., #18d4ff87). (If this parameter is present, the other bg_ parameters must be empty).
Can be a hexcolor code (e.g., #82d5fa, #fff) or a color name (e.g., blue). For semi-transparency, 4-/8-digit hexcodes are also supported (e.g., #18d4ff87). (If this parameter is present, the other bg_ parameters must be empty).
Optionally select one of the output image formats (JPG is chosen if left blank). Options are as follows:
- JPG
- PNG
- WEBP
- SVG
Optionally choose a specific AI model to use for this request. If not specified, a default model will be applied. Please note that the default model may change over time as Picsart continues to improve performance and accuracy. Any change to the default will be made only after thorough testing and validation to ensure it delivers better results. If you require consistent behavior or wish to evaluate different models on your own, we recommend explicitly setting this parameter.
Example request
{
"width": 512,
"height": 512
}Response
Accepted.
Changes
No recorded changes to this operation across all 1 revision of this API.