Skip to main content
POST
AI Focus Lens Video Generator API

Example

Example output from the AI Focus Lens Video Generator API:

API Overview

The AI Focus Lens Video Generator API enables developers to programmatically create videos with professional camera focus effects. By sending image data to our endpoint, your application can generate cinematic animations with realistic depth-of-field transitions, focus pulls, and subtle camera movements. This API is perfect for integrating into photography applications, filmmaking tools, content creation platforms, or any service that would benefit from engaging, professionally styled visual content.

Headers

Authorization
string
required

Body

application/json
reference_img
string

target image, Max 10M

custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

200 - application/json
code
integer
required
msg
string
required
data
object
required