Listing Intelligence REST API.
Base URL for local development:
http://localhost:8000
Interactive docs are available at:
/docs/redoc
Basic service status.
Example response:
{
"message": "Listing Intelligence API",
"version": "1.0.1-beta",
"status": "running"
}Returns active provider and application configuration.
Returns health information and provider connectivity state.
Returns token usage totals tracked by the backend.
Lists models for a given provider.
Analyze an uploaded file.
Form fields:
fileprompttemplate_keyoptionalprovideroptionalmodeloptionalapi_keyoptionalbase_urloptional
Analyze a listing URL or pasted listing text.
Form fields:
source_modewith valueurlormanuallisting_urlwhen using URL modelisting_textwhen using manual modepromptoptionaltemplate_keyoptional- provider override fields optional
Returns supported marketplaces and their configured rules.
Analyze a product image.
Form fields:
filemarketplaceoptional- provider override fields optional
Run a fuller product-analysis workflow with listing-oriented output.
Form fields:
filemarketplaceoptionalkeywordsoptional- provider override fields optional
Generate SEO-oriented listing content from a product image.
Compare one product image with one competitor image.
Form fields:
product_imagecompetitor_imagemarketplaceoptional- provider override fields optional
Batch-analyze multiple product images.
Form fields:
filesmarketplaceoptionalkeywordsoptional- provider override fields optional
Run marketplace compliance review for a product image.
Form fields:
filemarketplace- provider override fields optional
Return deterministic fix suggestions for a non-compliant image.
Form fields:
filemarketplace
Apply a selected deterministic fix and return before/after analysis.
Form fields:
filemarketplaceactiontransform_payloadoptional- provider override fields optional
Return improvement guidance for a product image.
Extract product attributes from an uploaded image.
Run deterministic object detection and OCR for shelf or inventory-style images.
Neural image-quality scoring.
Object detection.
OCR text detection.
Florence-based image analysis.
Recommendation endpoint for whether an image should be upscaled.
Apply IC-Light relighting.
Form fields:
imagepromptoptionallight_directionoptional
Apply Real-ESRGAN upscaling.
Expand the image canvas and outpaint the new region.
Form fields:
imagedirectionoptionalexpand_ratiooptionalpromptoptional
Erase selected regions such as text or watermarks.
Form fields:
imageregionsas JSON-encoded bounding boxes
Typical error response:
{
"detail": "Error message"
}Typical status codes:
400invalid request or unsupported values422missing or invalid form data500internal processing error503agent unavailable504long-running operation timed out