Text-to-image model. Generates original images from natural-language prompts.
Key strengths
- Prompt-driven generation
- Multiple resolutions
- Seed control
- Negative prompts
Use cases
- Marketing assets
- Blog illustrations
- Product concepts
- Storyboards
Google's google/virtual-try-on-images is a state-of-the-art text-to-image generation model. It produces highly detailed, photorealistic and stylized imagery from natural-language prompts, with strong instruction following and accurate text rendering inside generated images.
Compatible with the OpenAI `/images/generations` endpoint shape, supporting prompt, size, seed, negative prompt, and resolution controls. Excellent for creative workflows, marketing assets, product visualization, and concept art at scale.
google/virtual-try-on-images is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.
Performance
Compare different providers across TokenLX · All locations.
Effective Pricing
Pricing is shown by the model billing method, using per-call or per-second prices and resolution tiers.
Recent activity
Total usage per day on TokenLX (last 30 days).
Sample code & API
TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.
import requests
response = requests.post(
"https://api.tokenlx.ai/v1/aigc/image/generations",
headers={"Authorization": "Bearer sk-tokenlx-..."},
json={
"model": "virtual-try-on-images",
"prompt": "",
"images": [
{"file_uri": "https://example.com/person.jpg", "mime_type": "image/jpeg"},
{"file_uri": "https://example.com/clothing.jpg", "mime_type": "image/jpeg"},
],
},
)
data = response.json()
print(data["data"][0])Replace sk-aihubrouter-… with your key from the dashboard.
Parameter Reference
{
"data": ["url1", "url2"]
}| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | aitryon-plus or virtual-try-on-images |
| prompt | string | No | Optional, can be empty |
| images | array | Yes | 2 images required: person photo (full/half body, clean bg) + clothing photo (flat lay, clean bg) |
| images[].file_uri | string | Yes | Image URL |
| images[].mime_type | string | No | MIME type, defaults to image/png |
modelstringYespromptstringNoimagesarrayYesimages[].file_uristringYesimages[].mime_typestringNo