fairy-ai-art-genTransform a photo into AI-generated art using various styles. The style list and preview images are in this link.
The styles can be divided into two categories: v1 (global image transformation) and v2 (avatar-oriented transformation). v1 is preferred for images with multiple subjects, while v2 is designed for a single person.
/v1/images/generates/artCredit cost: 6
Authorization — This endpoint requires an API key. Pass it in the api-key header on every request. See the quickstart
| Name | Type | Status | Description |
|---|---|---|---|
input_image | file | Required | Image file or URL to transform into art. |
style | string | Required | Art style to apply. |
Art image generated successfullySingleImageResponse
| Name | Type | Description |
|---|---|---|
created | integer | Unix timestamp of when the response was created |
data | object[] | |
url | string | URL to download the result image |
curl -X POST "https://api.snapapi.ai/v1/images/generates/art" \
-H "api-key: YOUR_API_KEY" \
-F "input_image=@./image.jpg" \
-F "style=value"{
"created": 1745827200,
"data": [
{
"url": "https://outputs.snapapi.ai/outputs/abc123.png"
}
]
}