Cyber Monday Get up to +40% bonus credits automatically on every top-up (+15% to +40%, max $100 bonus) · Ends Dec 3 Up to +40% bonus credits · Ends Dec 3 Claim bonus →

Lumoz Vision

Multi-image & video visual intelligence (up to 16 images per call). OpenAI-compatible /v1/chat/completions API for comparison, OCR, JSON extraction, and scene analysis.

From $0.005/run · $1.25/1M in · $7.50/1M out Popular 1 runs
Lumoz Vision
Generation time: 0s

Your result will appear here

Configure parameters and press Run, or press Ctrl - ↵ Enter.

Run the model to see raw JSON response

API endpoint

POST https://lumozai.com/api/v4/run

Use this endpoint to run the model with your parameters. Authentication is required using your API key.

Sample code (PHP cURL)

PHP (cURL)
<?php
// API endpoint URL
$apiUrl = 'https://lumozai.com/api/v4/run';

// Your API key
$apiKey = 'YOUR_API_KEY';

// Model parameters
$params = [
    'model_id' => 'lumoz-vision',
    'images[]' => 'https://example.com/image.jpg', // Example image URL
    'video' => '',
    'prompt' => 'Describe and compare the attached visual content in clear detail.',
    'max_output_tokens' => 1024,
];

// Initialize cURL session
$curl = curl_init();

// Set cURL options
curl_setopt_array($curl, [
    CURLOPT_URL => $apiUrl,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => $params,
    CURLOPT_HTTPHEADER => [
        'Accept: application/json',
        'Authorization: Bearer ' . $apiKey
    ]
]);

// Execute the request
$response = curl_exec($curl);
$httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);

// Check for errors
if (curl_errno($curl)) {
    echo 'cURL Error: ' . curl_error($curl);
} else {
    // Process the response
    $result = json_decode($response, true);
    
    if ($httpCode == 200 && isset($result['success']) && $result['success']) {
        // Handle successful response
        echo 'Model output: ';
        print_r($result['data']['output']);
    } else {
        // Handle error response
        echo 'Error: ' . ($result['message'] ?? 'Unknown error');
    }
}

// Close cURL session
curl_close($curl);

Request parameters

Parameter Type Required Description
model_id string Required The ID of the model to run (lumoz-vision)
api_key string Required Your API key for authentication (sent via Bearer token in the Authorization header)
images array Optional Upload or paste one or more image URLs to inspect, OCR, or compare together (+$0.0025 per extra image).
video string Optional Optional public MP4, WebM, or MOV video URL to analyze (+$0.015 per video).
prompt string Required Question or instruction for Lumoz Vision.
max_output_tokens number Optional Maximum output length (64 to 4,096 tokens; +$0.005 per extra 1,024 tokens above 1,024).

Response format

JSON
{
    "success": true,
    "data": {
        "output": "https://lumozai.com/storage/outputs/example.png"
    }
}

Model Pricing

Pay only for what you run. Charges are deducted directly from your account balance with zero recurring commitments.

Multi-Image, Video & OpenAI-Compatible Rates

Up to 16 images or 4 videos per request • Billed per token on /v1/chat/completions or tiered per asset in Playground/REST
From $0.002 floor
Playground & REST Base (1 Image) Standard
$0.005 / run +$0.0025 per extra image (up to 16) • +$0.005 per extra 1K output tokens
Video Analysis (MP4 / WebM / MOV)
+$0.015 / video Up to 4 videos per request • $0.020 for base + 1 video
OpenAI-Compatible API (/v1/chat/completions)
$1.25 / 1M in • $7.50 / 1M out $0.002 minimum floor • 50% cheaper than GPT-4o on input
Cost Estimator
1,000 generations
Estimated Total $5.00
Add Balance
Automatic instant refund if any run fails • Credits valid for 1 year