Validate checks API access only. If Generate Image returns 401, enable Images API (DALL·E) for your key in the OpenAI dashboard.
Generate an image from a text prompt
Use Case: Generate images from text descriptions using OpenAI's image generation API.
Features:
How it works: Enter a text prompt describing the image you want to generate. The system calls OpenAI's image generation API and optionally generates a short descriptive text to accompany the image.
Generated image and metadata
Create a short video from a text prompt
Use Case: Generate videos from text using Google Gemini (Veo). Output format matches the image API: trusys.output with video_url and text.
API key: Use the Gemini API key field above (from Google AI Studio), or set GEMINI_API_KEY / GOOGLE_API_KEY in .env.
Generated video and metadata
Modify an existing image with a prompt
Use Case: Edit or modify existing images by providing a text prompt describing the desired changes.
Features:
How it works: Upload an image and provide a prompt describing the changes you want. Optionally upload a mask (PNG) to specify which areas should be edited. The system uses OpenAI's image editing API to create a modified version.
Edited image and metadata
Extract text and page images from a PDF
Use Case: Process PDF documents by extracting text and rendering pages as images for RAG ingestion.
Features:
How it works: Upload a PDF file. The system extracts text using pdf-parse, renders pages as images using pdfjs-dist and canvas, captions the page images, and creates embeddings for retrieval.
Note: Requires server dependencies: pdf-parse, pdfjs-dist, and canvas. If unavailable, only text extraction is performed.
Search and retrieve information from stored documents
Use Case: Query the RAG store to retrieve relevant documents and images based on semantic similarity.
Features:
How it works: Enter a query prompt. The system embeds your query, finds the most similar documents using cosine similarity, uses the context to generate an answer, and returns relevant images from the top documents.
Retrieved information and context