Actions40
- Index Spoken Words
- Get Transcript
- Search in a Video
- Generate Stream
- Index Scenes
- List Scene Indexes
- Get Scene Index
- Delete Scene Index
- Add Subtitle
- Translate Transcript
- Generate Audio URL
- Generate Image URL
- Create Collection
- Download
- Get Collection
- Get Collections
- Update Collection
- YouTube Search
- Delete Audio
- Delete Image
- Delete Video
- Delete Collection
- Dub Video
- Generate Image
- Generate Music
- Generate Sound Effect
- Generate Voice
- Generate Video
- Generate Text
- Get Audio
- Get Audios
- Get Image
- Get Images
- Get Video
- Get Videos
- Search in a Collection
- Upload
- Record Meeting
- Get Meeting
- Compile Timeline (VideoDB's Video Editor)
Generate Text
AI-generatedSummary
Generate text from a prompt using AI models within a specified collection.
Inputs
- Collection Name or ID (required) — Select the collection by name or ID, fetched dynamically via getCollections method.
- Prompt (required) — Text prompt used to generate the AI-generated text output.
- Model Name (required) — Select the AI model variant to use, options include Basic, Pro, or Ultra.
- Response Type (required) — Choose the format of the generated response: plain text or JSON.
Output shape
a single JSON object containing the generated text or data as per the selected response_type
No pagination. The result includes the AI-generated response based on the prompt and selected model. Errors return an error message in JSON format.
Examples
Example 1: Generate a basic AI-generated text response for a given collection using a prompt and receive the output as plain text.
Set Collection Name or ID to target collection, enter the prompt text, choose 'Basic' model, and set Response Type to 'Text'.