lumoz_run_microservice
Execute specialized AI microservices with unified parameters. Available active services:
• Lumoz Instant Voice Clone (voice-clone): Clone any user voice from a 10–120s audio URL or base64 sample (audio_url, name, sample_text) and return a reusable lumoz-voice-... ID for 90+ language TTS (including Bengali) — $0.25
• Website Screenshot (website-screenshot): Capture high-resolution screenshots of any webpage URL.
• Lumoz Vision (lumoz-vision): Multi-image & video visual intelligence (up to 16 images per call) with OpenAI-compatible /v1/chat/completions support.
• Image Format Converter (image-converter): High-speed image format converter supporting PNG, JPEG, WEBP, AVIF, GIF, BMP, TIFF, and ICO with precision quality control and transparency flattening.
• Background Remover (remove-background): Precision AI background removal and subject segmentation powered by RMBG-2.0 / BiRefNet. Cleanly isolates subjects, products, portraits, and graphics with crystal-clear transparent alpha PNG output.
• Video Audio Merger & BGM Sync (video-audio-merger): High-speed native audio-video merger and background music synchronization engine. Merges voiceovers, soundtracks, and ambient audio with videos via ultra-efficient stream copying without quality loss.
• Agent Search (agent-search): Autonomous real-time web search and knowledge retrieval engine. Gathers up-to-date live intelligence, synthesizes concise answers, and indexes verified web citations ($0.010 Basic / $0.020 Advanced).
• HTML To Image and PDF (html-to-image): Render and convert raw HTML, CSS styles, web layouts, and components into high-resolution images (WebP, PNG, JPG) or vector PDF documents with customizable viewport dimensions.
• 3D Mesh Optimizer (3d-mesh-optimizer): Prepare AI-generated .glb meshes for Unity, Godot, Unreal, and Three.js: auto-center pivot to ground (y=0), normalize real-world height in meters, and downscale/compress embedded textures by up to 85%.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>"
},
"name": "lumoz_run_microservice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Viewport height | |
| w | No | Viewport width | |
| url | No | Target webpage URL to capture (for website-screenshot). | |
| html | No | Raw HTML string with inline CSS, Google Fonts, or full web layout to render | |
| loop | No | Automatically loop audio if shorter than the video duration | |
| mode | No | Audio integration mode: "replace" swaps the video soundtrack completely; "mix" blends audio with original video audio | replace |
| name | No | Custom voice name (for voice-clone). | |
| audio | No | Source audio URL, uploaded file, or base64 data URI (MP3, WAV, AAC, M4A, OGG) | |
| image | No | Source image URL, uploaded file, or base64 data URI | |
| media | No | Single image or video URL (or JSON array string of URLs) | |
| pivot | No | Pivot alignment: ground (y=0 floor), center (origin), or keep | ground |
| query | No | Search query or research topic for agent-search. | |
| topic | No | Search topic domain: "general" for all web content; "news" for real-time news headlines | general |
| video | No | Source video URL, uploaded file, or base64 data URI (MP4, WEBM, MOV, MKV) | |
| width | No | Viewport width in pixels (1 to 7680) | |
| format | No | Output image format: png (supports transparent alpha), webp, or jpeg | png |
| height | No | Viewport height in pixels (1 to 4320) | |
| images | No | Array of up to 16 image URLs or base64 data URIs | |
| prompt | No | Visual query, comparison, or extraction prompt | |
| videos | No | Array of up to 4 public video URLs (MP4/WebM/MOV) | |
| fade_in | No | Audio fade-in transition duration in seconds | |
| glb_url | No | Public URL of the input .glb 3D mesh | |
| quality | No | Quality level (1-100) for image-converter (default: 90). | |
| service | Yes | Microservice action slug to execute. | |
| fade_out | No | Audio fade-out transition duration in seconds | |
| audio_url | No | Audio file URL or base64 data URI (for voice-clone or video-audio-merger). | |
| file_type | No | Output format: webp, png, jpg, or pdf | webp |
| image_url | No | Direct publicly accessible URL of the source image to process or convert. | |
| max_width | No | Optional maximum width constraint in pixels | |
| threshold | No | Alpha threshold for edge detection and cutout sensitivity | |
| max_height | No | Optional maximum height constraint in pixels | |
| wait_until | No | Render delay in seconds | |
| max_results | No | Maximum number of ranked web search results to retrieve (1-10) | |
| sample_text | No | Optional preview text in any of 90+ languages to synthesize with the cloned voice (for voice-clone). | |
| audio_volume | No | Volume multiplier for input audio track (0.0 to 3.0) | |
| search_depth | No | Search depth: "basic" ($0.010) for rapid snippet synthesis; "advanced" ($0.020) for comprehensive deep research | basic |
| video_volume | No | Volume multiplier for original video audio track when in "mix" mode (0.0 to 2.0) | |
| target_format | No | Target output format for image-converter (default: webp). | |
| target_height | No | Optional real-world height in meters (e.g. 1.8 for a character, 1.0 for a prop) | |
| trim_to_video | No | Automatically cut audio playback when the video stream finishes | |
| audio_delay_ms | No | Offset audio track start time in milliseconds | |
| include_answer | No | Synthesize a direct, concise summary answer alongside source citations | |
| include_images | No | Search and return relevant image URLs related to the query | |
| texture_format | No | Texture compression format (jpeg for universal engine support, webp for smallest WebGL size; alpha PNGs preserved automatically) | jpeg |
| background_type | No | Output background type: rgba (transparent alpha), solid, or blur | rgba |
| texture_quality | No | Texture compression quality (40-98, default 82) | |
| background_color | No | Hex color for flattening transparent pixels (e.g. #ffffff). | |
| max_texture_size | No | Max embedded texture dimension in pixels (512 for WebGL/Three.js, 1024-2048 for Unity/Unreal) | |
| max_output_tokens | No | Parameter for lumoz-vision | |
| system_instruction | No | Optional system prompt |