Skip to Content

Change the camera angle

See the subject of a photo from another side, height or distance.

Send a photo and say where the camera should be: around the subject, how high, and how close. The model draws the same subject from there. Poll the result like any generation.

The camera is set by three numbers:

FieldRangeWhat it sets
horizontal_angle0 to 360, default 0Degrees around the subject. 0 is the subject's own front, 90 its right side, 180 its back, 270 its left side.
vertical_angle-30 to 90, default 0The camera's height: -30 is low, looking up, 0 eye level, 30 elevated, 60 high, looking down.
zoom0 to 10, default 5How close the camera is. 0 is a wide shot, 5 medium, 10 a close-up.

Rotation 0 is the front of the subject, not the view in your photo. A car photographed from the side, at horizontal_angle 0, comes back showing its grille. To keep the photo's view, send the angle the photo already shows: 90 for a car seen from its right side.

# See the car from its front-right corner, a little from above
curl https://tensorfactory.ai/v1/generations \
  -H "Authorization: Bearer $TENSORFACTORY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "qwen-image/camera-angle", "image": "https://example.com/car.jpg", "horizontal_angle": 45, "vertical_angle": 30, "zoom": 5}'

curl "https://tensorfactory.ai/v1/generations/$ID?wait=10" \
  -H "Authorization: Bearer $TENSORFACTORY_API_KEY"

The poses the model draws

The model draws 96 poses: 8 directions around the subject (every 45 degrees), 4 heights (-30, 0, 30 and 60) and 3 distances (0, 5 and 10). Any numbers you send are drawn at the nearest pose: 100 degrees around is drawn at 90, a vertical_angle from 61 to 90 is drawn at 60, a zoom of 7 at 5. A value half-way between two heights or two distances goes to the one nearer eye level or medium.

The generation shows the pose it drew in camera, and the same words in prompt:

{"model": "qwen-image/camera-angle", "prompt": "front-right quarter view elevated shot medium shot",
 "camera": {"horizontal_angle": 45, "vertical_angle": 30, "zoom": 5, "pose": "front-right quarter view elevated shot medium shot"}}

What else it takes

  • No prompt: the pose is the instruction. Sending one answers 400 naming prompt.
  • One image only, in any of the forms an edit takes.
  • aspect_ratio: auto (the default, the photo's own shape), 1:1, 16:9 or 9:16. resolution: 1K.
  • seed, output_format and transparent_background as for an edit.
  • It always runs 8 steps and takes no steps or mode. Its price is in Pricing.

A big turn shows parts of the scene your photo never saw, so the model makes them up, as a second camera there would see them. Each run is a new image: try another seed if a pose comes back wrong.

On this page