Tools
Camera Angle tool
Drag a 3D camera around the subject — change rotation, tilt and zoom while keeping the subject, environment and lighting identical.
Category: Image · camera-angle
How to use & limits
- Post-production tool: image edit driven entirely by the prompt (the app's 3D camera widget just writes this prompt for you).
- Changes the camera viewpoint (rotation, tilt, zoom, framing) while keeping subject, environment and lighting identical.
- image_urls is required in practice: send the reference image of the subject.
- In the prompt you describe the NEW viewpoint, not a new scene — e.g. 'view the same subject from a low three-quarter angle, camera tilted up, slightly wider framing'.
- There are no numeric rotation/tilt params — the viewpoint is expressed in the prompt.
- Output: an image. resolution 1K/2K/4K and size shape the result.
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
resolution | Resolution | select | Optional | 1K | 1K · 2K · 4K | — | Output resolution: 1K, 2K or 4K (default 1K). |
size | Size | select | Optional | 1:1 | 1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 9:16 · 16:9 · 21:9 | — | Output aspect ratio: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9 or 21:9 (default 1:1). |
image_urls | Optional references | multi_select | Optional | — | — | — – 14 | Reference image(s) of the subject, up to 14 — required to reposition the camera. |
prompt | Prompt | textarea | Required | — | — | — | Description of the new camera viewpoint (rotation/tilt/zoom/framing). |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "camera-angle",
"prompt": "View the same subject from a low three-quarter angle, camera tilted slightly up, slightly wider framing, keeping the scene and lighting.",
"params": {
"resolution": "1K",
"size": "1:1",
"image_urls": [
"https://media.caranguejo.art/inputs/example.png"
]
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "camera-angle",
"prompt": "View the same subject from a low three-quarter angle, camera tilted slightly up, slightly wider framing, keeping the scene and lighting.",
"params": {
"resolution": "1K",
"size": "1:1",
"image_urls": [
"https://media.caranguejo.art/inputs/example.png"
]
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "camera-angle",
"type": "tool",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.png",
"type": "image"
}
],
"images": [
{
"url": "https://media.caranguejo.art/outputs/example.png"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |