Nextry API
Nextry API provides asynchronous image-generation workflows for fashion, product, and interior use cases.
Base URL
<base_url>
If your team uses a private deployment, use the base URL provided during onboarding.
Source of Truth
For request/response field-level contracts, treat your OpenAPI spec as the source of truth:
- Local Swagger UI:
http://localhost:8000/docs - Exported OpenAPI JSON (if enabled):
GET /openapi.json
This Docusaurus site focuses on integration patterns, endpoint intent, and operational behavior.
API Behavior
- Authentication:
Authorization: Bearer <api_key> - Request style: mostly
application/jsonandmultipart/form-data - Tool discovery endpoint:
GET /generation/tools - Generation type discovery endpoint:
GET /generation/generationTypes?tool=<tool> - Generation model: asynchronous jobs with status polling
- Common history statuses:
pending,complete,error
Typical Integration Flow
- Request API token from Nextry support.
- Configure
Authorization: Bearer <api_key>in your backend. - Fetch available tools via
GET /generation/tools. - Fetch generation types via
GET /generation/generationTypes?tool=<tool>. - Submit generation request to
POST /generation/generate_image_v2/. - Receive
history_item_idand image URLs from response. - Poll history/details endpoint until status is terminal.
Example:
- Tools endpoint example
- Generation types endpoint example
- Generation endpoint example
- Status check example
Environments
Use separate credentials per environment:
- Development
- Staging
- Production
This reduces blast radius during key rotation and incident response.
Support
- Email: business@nextry.ai
- Telegram: @nextry_support
- Website: nextry.app
Example Links
- Tools discovery: GET /generation/tools examples
- Generation types: GET /generation/generationTypes examples
- Create generation: POST /generation/generate_image_v2/ examples
- Check status by id: GET /user/generation-history/:id examples
- List history: GET /user/generation-history examples
- Send feedback: PATCH /user/generation-history/feedback/:id examples
- Delete record: DELETE /user/generation-history/:id examples