Visual To Text
This API allows you to generate content based on image or video as an input.
Last updated
This API allows you to generate content based on image or video as an input.
Last updated
The request should include the following header:
Embed Image or Video
To pass an image to this Generation API, you need to first pass an id of that image or video. To obtain an _id, you need to upload the visual content using our embedding endpoint.
Image To Text Endpoint
Request Parameters
Parameter | Description |
---|---|
Here is a table listing the models along with their respective inputs and descriptions:
Video Only Endpoints
Video and Image Endpoints
Response
Upon a successful request, the API will respond with the following JSON data:
This request generates a description for the image with the ID "648ff69025155f2c82377ce9". The response will contain the generated content information as described above.
Model | Purpose | Model Route |
---|---|---|
Name | :model | Description |
---|---|---|
Property | Description |
---|---|
Clips
Extract clips from videos
clips
Idea Generation
Generate video ideas
idea_generation
Audio Description
Generate audio descriptions for videos
audio_description
Short Video Ideas
Generate short video ideas
short_video_ideas
Facebook Ad
facebook_ad
Generates text tailored for creating Facebook ads
Instagram Caption
instagram_caption
Generates captions for Instagram posts
LinkedIn Post
linkedin_post
Generates text for creating LinkedIn posts
Buyer Persona
buyer_persona
Generates a description for a buyer persona
Audio Descriptions
audio_description
Generates descriptions for audio content
Video Feedback
video_feedback
Generates feedback for videos
Video Ideas
video_ideas
Generates ideas for creating videos
Classify
classify
Classifies input text
Ecommerce SEO
commerce_seo_keywords
Generates SEO keywords for e-commerce websites
E-commerce Product Descriptions
commerce_product_descriptions
Generates descriptions for e-commerce products
isSuccess
A boolean value indicating whether the request was successful (true
) or not (false
).
listData
An array containing the generated content data.
_id
The ID of the generated content.
file_url
The URL of the generated image or video file.
media_type
The type of the generated media. Either "visual" for an image or "video" for a video.
generations
An array of generated content descriptions or ad texts.
format
The format of the content to be generated. Can be either "Image" or "Video".
model
The model to be used for generating the content. Can be either "Description" or "Facebook Ad".
content_id
The ID of the image or video for which the content needs to be generated.