curl --request POST \
--url https://api.goenhance.ai/api/v1/images/generations \
--header 'Content-Type: application/json' \
--data '
{
"model": "multiple-angles",
"image_url": "https://your-cdn.com/input.jpg",
"azimuth": "front-right quarter view",
"elevation": "eye-level shot",
"distance": "medium shot",
"ratio": "auto"
}
'import requests
url = "https://api.goenhance.ai/api/v1/images/generations"
payload = {
"model": "multiple-angles",
"image_url": "https://your-cdn.com/input.jpg",
"azimuth": "front-right quarter view",
"elevation": "eye-level shot",
"distance": "medium shot",
"ratio": "auto"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'multiple-angles',
image_url: 'https://your-cdn.com/input.jpg',
azimuth: 'front-right quarter view',
elevation: 'eye-level shot',
distance: 'medium shot',
ratio: 'auto'
})
};
fetch('https://api.goenhance.ai/api/v1/images/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goenhance.ai/api/v1/images/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'multiple-angles',
'image_url' => 'https://your-cdn.com/input.jpg',
'azimuth' => 'front-right quarter view',
'elevation' => 'eye-level shot',
'distance' => 'medium shot',
'ratio' => 'auto'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goenhance.ai/api/v1/images/generations"
payload := strings.NewReader("{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goenhance.ai/api/v1/images/generations")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goenhance.ai/api/v1/images/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}"
response = http.request(request)
puts response.read_body{
"code": 0,
"msg": "Success",
"data": {
"img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5",
"cost": 5.82
}
}Multiple Angles
Move the camera around the subject. The subject itself is kept; only the viewpoint changes.
Pick a horizontal angle (azimuth), a vertical angle (elevation) and a shot distance (distance) — 8 x 4 x 3 = 96 camera poses in total. All three are optional and default to a straight-on, eye-level, medium shot.
Pricing: 1 token per image (= $0.02). Same rate as qwen-image-edit.
Returns an img_uuid; poll GET /api/v1/jobs/detail (or use custom_callback_url) to get the generated image.
curl --request POST \
--url https://api.goenhance.ai/api/v1/images/generations \
--header 'Content-Type: application/json' \
--data '
{
"model": "multiple-angles",
"image_url": "https://your-cdn.com/input.jpg",
"azimuth": "front-right quarter view",
"elevation": "eye-level shot",
"distance": "medium shot",
"ratio": "auto"
}
'import requests
url = "https://api.goenhance.ai/api/v1/images/generations"
payload = {
"model": "multiple-angles",
"image_url": "https://your-cdn.com/input.jpg",
"azimuth": "front-right quarter view",
"elevation": "eye-level shot",
"distance": "medium shot",
"ratio": "auto"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'multiple-angles',
image_url: 'https://your-cdn.com/input.jpg',
azimuth: 'front-right quarter view',
elevation: 'eye-level shot',
distance: 'medium shot',
ratio: 'auto'
})
};
fetch('https://api.goenhance.ai/api/v1/images/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.goenhance.ai/api/v1/images/generations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'model' => 'multiple-angles',
'image_url' => 'https://your-cdn.com/input.jpg',
'azimuth' => 'front-right quarter view',
'elevation' => 'eye-level shot',
'distance' => 'medium shot',
'ratio' => 'auto'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goenhance.ai/api/v1/images/generations"
payload := strings.NewReader("{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goenhance.ai/api/v1/images/generations")
.header("Content-Type", "application/json")
.body("{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goenhance.ai/api/v1/images/generations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"model\": \"multiple-angles\",\n \"image_url\": \"https://your-cdn.com/input.jpg\",\n \"azimuth\": \"front-right quarter view\",\n \"elevation\": \"eye-level shot\",\n \"distance\": \"medium shot\",\n \"ratio\": \"auto\"\n}"
response = http.request(request)
puts response.read_body{
"code": 0,
"msg": "Success",
"data": {
"img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5",
"cost": 5.82
}
}Headers
Body
Model name. Must be multiple-angles.
multiple-angles Source image. The subject is kept; only the camera moves.
Horizontal camera position, 45 degrees apart going clockwise from the front.
front view, front-right quarter view, right side view, back-right quarter view, back view, back-left quarter view, left side view, front-left quarter view Vertical camera angle: -30 / 0 / 30 / 60 degrees.
low-angle shot, eye-level shot, elevated shot, high-angle shot Camera distance from the subject.
close-up, medium shot, wide shot Output aspect ratio. auto keeps the input image size.
auto, 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9 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.
"https://your-server.com/goenhance/callback"
