SwitchX Image to Image overview
SwitchX Image to Image by Beeble
SwitchX is an image-to-image compositing model by Beeble that replaces a scene element while preserving the original subject, with automatic subject detection and seamless relighting to match a reference image.
SwitchX Image to Image specs
- Model ID
beeble/switchx-image-to-image- Developer
- Beeble
- Input
- Image, Text
- Output
- Image
- Endpoint
POST https://api.aimlapi.com/v1/images/generations
What is SwitchX Image to Image API?
SwitchX is an image-to-image compositing model by Beeble that replaces a scene element while preserving the original subject, with automatic subject detection and seamless relighting to match a reference image. Does not support tools/function calling.
SwitchX Image to Image API Pricing
- Pricing on request
Where to Use SwitchX Image to Image
SwitchX Image to Image API pricing
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.1 | per generation |
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.
SwitchX Image to Image vs other image models: prices
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.1 | |
| $0.075 | |
| $0.08 | |
| $0.08 | |
| $0.1 |
How to use the SwitchX 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": "beeble/switchx-image-to-image",
"image_url": "https://example.com/input.jpg"
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "beeble/switchx-image-to-image",
"image_url": "https://example.com/input.jpg"
}
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": "beeble/switchx-image-to-image",
"image_url": "https://example.com/input.jpg"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Related articles
SwitchX Image to Image FAQ
What inputs and outputs does SwitchX Image to Image support?
SwitchX Image to Image takes image, text as input and returns image.
When was SwitchX Image to Image released?
SwitchX Image to Image became available on June 15, 2026.
How much does SwitchX Image to Image cost?
SwitchX Image to Image costs $0.1 per generation on AI/ML API, billed as you go with no subscription.
How is SwitchX Image to Image billed?
SwitchX Image to Image is billed per generation, a fixed charge per output rather than by prompt length.
Can SwitchX Image to Image take an existing image as input?
Yes, SwitchX Image to Image accepts image input as well as a text prompt.
Who created SwitchX Image to Image?
SwitchX Image to Image was built by Beeble.
How do I call SwitchX Image to Image on AI/ML API?
Send a request to https://api.aimlapi.com/v1/images/generations with beeble/switchx-image-to-image as the model id.
Is SwitchX Image to Image available through a single API key?
Yes. SwitchX Image to Image is served through AI/ML API, so the same key and endpoint format used for other models applies.
What is Beeble SwitchX?
SwitchX is an image-to-image compositing model from Beeble that replaces a scene element while keeping the original subject intact, using automatic subject detection and relighting to match a reference image.
Does SwitchX support tool or function calling?
No, SwitchX Image to Image does not support tools or function calling.



.webp)