Everything you need to integrate Niotex Studio's AI-powered product photography into your application.
All API requests require authentication using an API key. You can create and manage your API keys from the dashboard.
Include your API key in the X-API-Key header:
X-API-Key: ns_live_xxxxxxxxxxxxChoose your programming language and follow the example below
curl -X POST https://studio.niotex.com/api/v1/process \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"imageUrl": "https://example.com/product.jpg",
"options": {
"removeBackground": true,
"studioLighting": true,
"outputFormat": "png",
"size": "1024x1024"
}
}'/v1/processAuth/v1/imagesAuth/v1/images/:idAuth/v1/keysAuth/v1/keysAuth/v1/keys/:idAuthThe /v1/process endpoint accepts the following options:
removeBackgroundbooleandefault: trueRemove the background from the product image
studioLightingbooleandefault: trueApply professional studio lighting effects
outputFormatstringdefault: "png"Output format: "png", "jpg", or "webp"
sizestringdefault: "1024x1024"Output size: "1024x1024", "1792x1024", or "1024x1792"
stylestringdefault: "natural"Image style: "natural" or "vivid"
API_KEY_REQUIREDNo API key provided in the requestAPI_KEY_INVALIDThe provided API key is invalid or revokedSUBSCRIPTION_REQUIREDAn active subscription is requiredTRIAL_EXPIREDYour free trial has expiredIMAGE_REQUIREDNo image provided in the requestPROCESSING_FAILEDFailed to process the imageRATE_LIMIT_EXCEEDEDToo many requestsRate limits are applied per API key and depend on your subscription plan:
100 requests/minute
1,000 images/month
500 requests/minute
10,000 images/month
Unlimited requests
Unlimited images