π API Introduction
Nano Studio provides comprehensive API access for developers who want to integrate AI-powered image transformation, OCR, virtual try-on, and content generation capabilities into their applications.Overview
The Nano Studio API allows you to:- Transform images using our 80+ AI templates across 19 categories
- Extract text from images with advanced OCR technology
- Generate virtual try-on experiences for fashion and retail
- Create professional product photography with AI
- Build AI models and avatars programmatically
- Manage projects and user accounts
- Handle subscriptions and billing
Base URL
All API endpoints use the following base URL:Authentication
Nano Studio uses Bearer token authentication for secure API access:Getting Your API Key
- Sign up for a Nano Studio account at https://nanostudio.cloud
- Navigate to Account Settings β API Keys
- Generate a new API key
- Copy your key and store it securely
Rate Limits
API usage is limited based on your subscription plan:- Free Plan: 50 transformations per month
- Pro Plan: 500 transformations per month
- Enterprise: Unlimited transformations
- Image Generation: 10 requests per minute
- OCR Processing: 15 requests per minute
- Virtual Try-On: 10 requests per minute
- Product Generation: 10 requests per minute
- Model Generation: 10 requests per minute
Quick Start
1. Make Your First Request
Available API Endpoints
Image Generation APIs
/api/generate - Template-Based Image Transformation
Transform images using AI templates across all categories.
Request:
expressions- 8 facial expression templatesart-styles- 6 artistic style templatesage-change- 4 age modification templatesbackgrounds- 4 background replacement templateseffects- 6 special effect templatesfashion- 6 fashion style templateshair-styles- 5 hairstyle templatesaccessories- 5 accessory templatesseasonal- 5 seasonal theme templatesprofessional- 5 professional style templatesfantasy- 5 fantasy character templatesanimals- 5 animal transformation templatesfood- 5 food-related templatestravel- 5 travel-themed templatessports- 5 sports activity templatesmusic- 5 music-themed templatesutils- 6 utility templates
/api/virtual-tryon - Virtual Try-On Generation
Apply clothing and fashion items to person images.
Request:
/api/product-generate - Product Photography
Generate professional product photos with AI backgrounds and styling.
Request:
/api/model-generate - AI Model Generation
Generate AI models and avatars with specific characteristics.
Request:
OCR APIs
/api/ocr - Text Extraction
Extract text from images with multi-language support.
Request:
text, json, csv
/api/ocr-health - OCR Health Check
Check OCR service availability and status.
User Management APIs
/api/user/profile - User Profile
Get user profile information and account details.
/api/projects - Project Management
Create, read, update, and delete user projects.
Actions:
create- Create new projectlist- List user projectssave-generation- Save generation to project
Subscription APIs
/api/subscription - Subscription Management
Manage user subscriptions and billing.
/api/subscription/check - Subscription Status
Check current subscription status and limits.
/api/subscription/payments - Payment History
Retrieve payment history and billing information.
Response Format
All API responses follow this structure:Error Handling
The API returns standard HTTP status codes:200- Success400- Bad Request (invalid parameters)401- Unauthorized (invalid API key)429- Rate Limit Exceeded500- Server Error
π Ready to start? Check out our SDKs and integration guides for seamless implementation with your favorite programming language.
