Appearance
Uwear.ai API Documentation
Uwear.ai API allows you to call our AI models from your application. Upload clothing images and generate visuals of AI models wearing them in seconds.
Quick Links
- Dev Portal - Create your account and get your API credentials
- Community - Join the Uwear.ai community and get help
- Direct Support - Connect directly with our team
Getting Started
To get started with the Uwear.ai API:
- Sign up at dev.uwear.ai to get your API credentials
- Keep your API keys secure and never share them
- Purchase API credits
Warning: API credits can only be used to make API calls and cannot be used on the studio webapp.
Understanding Generation Process
- You have two ways to use our API:
- First upload your clothing items separately, then create generation requests using the item IDs.
- Directly upload clothing items when creating a generation request (new feature).
- Each new clothing item is processed to remove backgrounds and generate accurate descriptions, costing 1 credit.
- If you upload the same image URL multiple times, our system will detect this and reuse the existing processed item without charging additional credits.
- The tradeoff when uploading an item directly in the generation request is that it makes that request slower, as the system needs to process the clothing item before starting the generation.
- Create generation requests by specifying details like the number of images, camera angle, and model description.
- Once a generation request is submitted, we create Generation Results containing the AI-generated images.
- Monitor the status of your generations through the generation request's status field.
- Generation requests typically complete within 5-20 seconds.
- You can submit multiple requests - they'll be processed sequentially (concurrent generation is coming soon).
- Generated images are available for 4 hours after completion.
Pricing
Our API uses a credit-based system for all operations. Credits can be purchased through our dev portal.
Operation Type | Price per Operation | Notes |
---|---|---|
Clothing Upload | 1 credit (0.15USD) | It costs 1 credit to upload a clothing item as we remove any background and generate an accurate description of the item. |
Image Generation | 1 credit (0.15USD) | Credits are only charged for successful requests. Failed requests are automatically recredited. |
Enterprise Scale
For enterprise solutions including increased API quotas and custom integrations with our AI models, please contact us at hello@uwear.ai.