USO Image to Image overview
USO Image to Image specs
- Model ID
bytedance/uso- Developer
- ByteDance
- Input
- Image, Text
- Output
- Image
- Endpoint
POST https://api.aimlapi.com/v1/images/generations
What is USO Image to Image API?
USO is an advanced image-to-image model for style transfer and image transformation.
USO Image to Image API Pricing
- Pricing on request
Where to Use USO Image to Image
Use cases
Consistent subject generation: guide the result with one or more subject references so the image preserves the intended subject or identity.
Style transfer: apply a visual style from reference images to a new composition while keeping the generation aligned with the prompt.
Creative exploration: combine visual references with a prompt to explore different directions for an image.
Marketing and concept art: create images that follow a consistent subject or visual identity for campaign and concept work.
USO Image to Image API pricing
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.1 | per Megapixel |
The final price depends on request parameters such as resolution or duration.
Prices from the AI/ML API price list, checked on Nov 4, 2026.
USO Image to Image vs other image models: prices
AI/ML API rates for 5 models, per Megapixel.
| Model | Per Megapixel |
|---|---|
| $0.1 | |
| $0.07 | |
| $0.1 | |
| $0.1 | |
| $0.13 |
How to use the USO Image to Image API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "bytedance/uso",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "bytedance/uso",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "bytedance/uso",
"image_urls": [
"https://example.com/input.jpg"
],
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
USO Image to Image FAQ
What inputs and outputs does USO Image to Image support?
USO Image to Image takes image, text as input and returns image.
How much does USO Image to Image cost?
USO Image to Image costs $0.1 per Megapixel on AI/ML API, billed as you go with no subscription.
How is USO Image to Image billed?
USO Image to Image is billed per generation, a fixed charge per output rather than by prompt length.
Can USO Image to Image take an existing image as input?
Yes, USO Image to Image accepts image input as well as a text prompt.
Who created USO Image to Image?
USO Image to Image was built by ByteDance.
How do I call USO Image to Image on AI/ML API?
Send a request to https://api.aimlapi.com/v1/images/generations with bytedance/uso as the model id.
Is USO Image to Image available through a single API key?
Yes. USO Image to Image is served through AI/ML API, so the same key and endpoint format used for other models applies.
What is USO Image to Image designed to do?
USO is an image-to-image model for style transfer and image transformation.
What category of AI model is USO?
USO is classified as an image generation model, specifically for image-to-image tasks.
What is the USO Image to Image model ID?
Use bytedance/uso as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.



.webp)