Transfer artistic style from one image to another via Stability AI, paid per call on Tempo L2.
What it does
This MPP endpoint wraps Stability AI's Style Transfer capability, allowing you to restyle a content image using a separate style reference image. You provide an init_image (the content to restyle) and a style_image (the artistic reference), with optional parameters for style strength, composition fidelity, change strength, prompt guidance, output format, and seed. The endpoint is part of a broader Stability AI suite hosted on Locus MPP that includes 20+ endpoints covering image generation (Ultra, Core, SD3), editing (erase, inpaint, outpaint, search-and-replace, search-and-recolor), upscaling, sketch-to-image, structure control, background removal/replacement, 3D model generation, and audio generation/editing.
Payment is handled via the MPP protocol using the Tempo method (pathUSD on Tempo L2). The style-transfer endpoint charges 92,000 base units per call. Assuming pathUSD uses 6 decimals, this equates to approximately $0.092 per request. The endpoint accepts POST requests with a JSON body and returns the generated image. For async operations, a separate /result endpoint (free) lets you poll for completed outputs.
The probe did not capture a live 402 challenge on HEAD/GET (returned 404 instead), which is expected since this endpoint only accepts POST. The OpenAPI spec is comprehensive, with full request schemas and payment metadata for every path. Documentation references point to platform.stability.ai and a Locus-hosted markdown file at beta.paywithlocus.com.
Capabilities
Use cases
- —Restyle product photos to match a brand's artistic aesthetic
- —Generate artwork by combining a photograph with a painting's style
- —Create consistent visual themes across marketing assets by applying a single style reference
- —Build creative tools that let users apply famous art styles to their own images
- —Automate batch restyling of images in content pipelines
Fit
Best for
- —AI agents needing pay-per-call image style transfer without API key management
- —Developers building creative image editing tools with programmatic payment
- —Workflows requiring consistent artistic restyling across many images
Not for
- —High-volume batch processing where per-call costs add up (consider direct Stability AI API with volume pricing)
- —Real-time video style transfer (this is single-image, synchronous/async)
- —Users who need free or open-source style transfer solutions
Quick start
curl -X POST https://stability-ai.mpp.paywithlocus.com/stability-ai/style-transfer \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <TEMPO_TOKEN>" \
-d '{
"init_image": "<base64_content_image>",
"style_image": "<base64_style_image>",
"style_strength": 0.7,
"output_format": "png"
}'Example
Request
{
"seed": 42,
"prompt": "A serene landscape in impressionist style",
"init_image": "<base64-encoded content image>",
"style_image": "<base64-encoded style reference image>",
"output_format": "png",
"style_strength": 0.7,
"change_strength": 0.6,
"composition_fidelity": 0.5
}Endpoint
Quality
Comprehensive OpenAPI spec with full request schemas and payment metadata for all 22 endpoints. However, the probe did not capture a live 402 challenge (POST-only endpoint probed with HEAD/GET), no response schema is documented, no example responses are available, and crawled pages all returned 404 JSON errors. Price conversion assumes 6 decimals for pathUSD which is not explicitly confirmed.
Warnings
- —Probe returned 404 on HEAD/GET — endpoint is POST-only; liveness not confirmed via 402 challenge
- —No response schema documented — output format/structure must be inferred from Stability AI's own docs
- —pathUSD decimal count assumed to be 6 (standard for USD stablecoins) but not explicitly stated in the spec
- —Currency address 0x20c000000000000000000000b9537d11c60e8b50 not independently verified
Citations
- —Style Transfer endpoint charges 92,000 base units via Tempo methodhttps://stability-ai.mpp.paywithlocus.com
- —Required fields are init_image and style_image; optional fields include style_strength, composition_fidelity, change_strength, prompt, output_format, seedhttps://stability-ai.mpp.paywithlocus.com
- —API reference available at platform.stability.ai/docs/api-referencehttps://platform.stability.ai/docs/api-reference
- —LLM-friendly docs hosted at beta.paywithlocus.com/mpp/stability-ai.mdhttps://beta.paywithlocus.com/mpp/stability-ai.md
- —The broader Stability AI MPP suite includes 22 endpoints covering generation, editing, upscaling, 3D, and audiohttps://stability-ai.mpp.paywithlocus.com