Image generation model. Creates or edits images from text prompts.
Key strengths
- Prompt-driven
- Multiple resolutions
- Seed control
- Compatible API
Image generation model. Creates or edits images from text prompts.
An advanced AI Try-On generation tool. Leveraging cutting-edge AI technology, it instantly simulates how clothing looks when worn — empowering users, brands, and designers to effortlessly explore endless fashion possibilities in shopping, styling, showcasing, and creative design.
TokenLX provides unified API access to alibaba/aitryon-plus — just set `baseURL` to `https://api.tokenlx.ai`.
Compare different providers across TokenLX · All locations.
Pricing is shown by the model billing method, using per-call or per-second prices and resolution tiers.
Total usage per day on TokenLX (last 30 days).
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-aihub-..."},
json={
"model": "aitryon-plus",
"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.
{
"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