Description
The Caption Route is used to get a caption that describes the given image.
Successful operation.
Bad request. Missing or invalid parameters.
Unauthorized. Invalid API key or authentication token.
Not found. Image could not be found at the provided URL.
Payload too large. Image file size exceeds the 12MB limit.
Unsupported media type. Invalid file type. Supported file types are jpeg, jpg, png, webp.
Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
Unavailable for legal reasons.
Failed to download image.
Internal server error. An error occurred on the server.
{- "results": [
- {
- "caption": "woman walking on a bridge in the jungle"
}
]
}
Description
By using the Search Route, you can utilize Bria's generative search capabilities, which don't require labels or keywords. The user can send any text query and receive relevant images that match the query.
The Search Route returns the images, sorted by the match score, from highest match to lowest match. The images are returned in batches, and you can specify how many images to receive in one batch, and which batch to receive in each call.
Search will only work on images that have been onboarded using the register
endpoint.
Note: To use this endpoint, please contact us at support@bria.ai.
Successful operation.
Bad request.
Specified Image does not exist.
Method not allowed.
Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
Internal server error.
Insufficient data. The given input is not supported by the Bria API.
{- "results": [
- {
- "visual_id": "a169a6862f24de75",
- "org_image_key": "None",
- "source_url": "None"
}
]
}
Description
By using the Search Route, you can utilize Bria's generative search capabilities, which don't require labels or keywords. The user can send any text query and receive relevant images that match the query.
The Search Route returns the images, sorted by the match score, from highest match to lowest match. The images are returned in batches, and you can specify how many images to receive in one batch, and which batch to receive in each call.
Search will only work on images that have been onboarded using the register
endpoint.
Note: To use this endpoint, please contact us at support@bria.ai.
Successful operation.
Bad request.
Specified Image does not exist.
Method not allowed.
Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
Internal server error.
Insufficient data. The given input is not supported by the Bria API.
{- "results": [
- {
- "visual_id": "a169a6862f24de75",
- "org_image_key": "None",
- "source_url": "None"
}
]
}