AI image No subscription required

Style Transfer API

Apply any style programmatically

Apply artistic styles to images via API. Send an image URL and a style (from a preset enum or a custom text description), get back the styled image. Perfect for photo apps, social features, and content pipelines.

Style Transfer API example output

How Style Transfer API Works

Style Transfer API applies artistic styles to images via a single API call. Send an image URL along with either a preset style name (oil painting, watercolor, anime, sketch, pop art, cyberpunk) or a free-text style description, and the AI transforms the image while preserving its structure and subject. The model understands both broad categories and specific instructions like "Studio Ghibli background art" or "1970s psychedelic concert poster." Developers building photo editing apps, social media features, and creative tools integrate style transfer as a user-facing filter. A social app can offer one-tap artistic filters. A print-on-demand platform can let sellers stylize product mockups. A marketing automation tool can generate themed variations of campaign images. The API abstracts away model selection and GPU management. For the strongest style effect, use images with clear subjects and simple backgrounds. The AI preserves the spatial composition of the original image while replacing textures, colors, and rendering style. Use the custom text description for precise control -- "watercolor with visible brush strokes and muted earth tones" produces a very different result from just "watercolor." At $0.025 per stylization, generating 10 style variants of a photo costs $0.25.

How it works

1

Send a POST /v1/tools/stylize with image URL and style

2

AI applies the style transfer

3

Get back the styled image URL

What you'll get

High-resolution output ready for social, web, or print

Multiple style variations available per generation

Commercial-use license included with every output

PNG, JPG, or WebP format at up to 4K resolution

Instant download -- no watermarks, no waiting

Consistent quality powered by state-of-the-art AI models

Frequently asked questions

Do I need a subscription to use Style Transfer API?
No. FairStack uses pay-per-use pricing. Add funds to your account and use any tool whenever you need it. There is no subscription, no monthly commitment, and no minimum spend.
What file formats does Style Transfer API support?
Style Transfer API outputs PNG, JPG, and WebP. You can download results instantly after generation. All outputs are full quality with no watermarks.
How long does Style Transfer API take?
Most generations complete in 2-10 seconds. Processing time depends on the complexity of your input and the selected quality settings. You can monitor progress in real time.
Can I use Style Transfer API outputs commercially?
Yes. All outputs generated on FairStack include a commercial-use license. You can use them in client work, products, marketing materials, social media, and any other commercial context.
What image formats are supported for input and output?
Input: PNG, JPEG, or WebP via public URL. Output: PNG at the same resolution as the input image, hosted on the FairStack CDN. Processing time is typically 3-8 seconds per image depending on resolution and model.
Can I use style-transferred images commercially?
Yes. The stylized output is fully licensed for commercial use. If you have commercial rights to the input image, you can use the stylized version in products, marketing, print-on-demand, and client work without additional licensing.
Can I process images in bulk for a product catalog?
Yes. Submit multiple style transfer requests in parallel -- there are no daily limits. Processing 500 product images in a consistent art style would cost $12.50 and complete in a few minutes with concurrent requests. The batch endpoint also supports style transfer.

Built for Developers & API Users

Every tool available via REST API. Batch processing, cost estimation, smart model selection, and multi-modal pipelines. Build AI into your product.

More tools for Developers & API Users:

See all Developers & API Users tools

Try Style Transfer API

No subscription required.

Start Creating