curl --request POST \
--url http://localhost:3000/api/v1/image/atlas/split \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"account": "<string>",
"background": "<string>",
"caption": "<string>",
"channel": "<string>",
"cols": "<string>",
"fit": "<string>",
"fuzz": "<string>",
"mode": "<string>",
"names": "<string>",
"output": "<string>",
"pad": "<string>",
"parentArtifact": "<string>",
"rows": "<string>",
"send": true,
"size": "<string>",
"threadId": "<string>",
"to": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/image/atlas/split"
payload = {
"input": "<string>",
"account": "<string>",
"background": "<string>",
"caption": "<string>",
"channel": "<string>",
"cols": "<string>",
"fit": "<string>",
"fuzz": "<string>",
"mode": "<string>",
"names": "<string>",
"output": "<string>",
"pad": "<string>",
"parentArtifact": "<string>",
"rows": "<string>",
"send": True,
"size": "<string>",
"threadId": "<string>",
"to": "<string>"
}
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({
input: '<string>',
account: '<string>',
background: '<string>',
caption: '<string>',
channel: '<string>',
cols: '<string>',
fit: '<string>',
fuzz: '<string>',
mode: '<string>',
names: '<string>',
output: '<string>',
pad: '<string>',
parentArtifact: '<string>',
rows: '<string>',
send: true,
size: '<string>',
threadId: '<string>',
to: '<string>'
})
};
fetch('http://localhost:3000/api/v1/image/atlas/split', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/image/atlas/split",
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([
'input' => '<string>',
'account' => '<string>',
'background' => '<string>',
'caption' => '<string>',
'channel' => '<string>',
'cols' => '<string>',
'fit' => '<string>',
'fuzz' => '<string>',
'mode' => '<string>',
'names' => '<string>',
'output' => '<string>',
'pad' => '<string>',
'parentArtifact' => '<string>',
'rows' => '<string>',
'send' => true,
'size' => '<string>',
'threadId' => '<string>',
'to' => '<string>'
]),
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 := "http://localhost:3000/api/v1/image/atlas/split"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\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("http://localhost:3000/api/v1/image/atlas/split")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/image/atlas/split")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}Split an image atlas/contact sheet into deterministic crop artifacts
curl --request POST \
--url http://localhost:3000/api/v1/image/atlas/split \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"account": "<string>",
"background": "<string>",
"caption": "<string>",
"channel": "<string>",
"cols": "<string>",
"fit": "<string>",
"fuzz": "<string>",
"mode": "<string>",
"names": "<string>",
"output": "<string>",
"pad": "<string>",
"parentArtifact": "<string>",
"rows": "<string>",
"send": true,
"size": "<string>",
"threadId": "<string>",
"to": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/image/atlas/split"
payload = {
"input": "<string>",
"account": "<string>",
"background": "<string>",
"caption": "<string>",
"channel": "<string>",
"cols": "<string>",
"fit": "<string>",
"fuzz": "<string>",
"mode": "<string>",
"names": "<string>",
"output": "<string>",
"pad": "<string>",
"parentArtifact": "<string>",
"rows": "<string>",
"send": True,
"size": "<string>",
"threadId": "<string>",
"to": "<string>"
}
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({
input: '<string>',
account: '<string>',
background: '<string>',
caption: '<string>',
channel: '<string>',
cols: '<string>',
fit: '<string>',
fuzz: '<string>',
mode: '<string>',
names: '<string>',
output: '<string>',
pad: '<string>',
parentArtifact: '<string>',
rows: '<string>',
send: true,
size: '<string>',
threadId: '<string>',
to: '<string>'
})
};
fetch('http://localhost:3000/api/v1/image/atlas/split', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/image/atlas/split",
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([
'input' => '<string>',
'account' => '<string>',
'background' => '<string>',
'caption' => '<string>',
'channel' => '<string>',
'cols' => '<string>',
'fit' => '<string>',
'fuzz' => '<string>',
'mode' => '<string>',
'names' => '<string>',
'output' => '<string>',
'pad' => '<string>',
'parentArtifact' => '<string>',
'rows' => '<string>',
'send' => true,
'size' => '<string>',
'threadId' => '<string>',
'to' => '<string>'
]),
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 := "http://localhost:3000/api/v1/image/atlas/split"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\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("http://localhost:3000/api/v1/image/atlas/split")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/image/atlas/split")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"input\": \"<string>\",\n \"account\": \"<string>\",\n \"background\": \"<string>\",\n \"caption\": \"<string>\",\n \"channel\": \"<string>\",\n \"cols\": \"<string>\",\n \"fit\": \"<string>\",\n \"fuzz\": \"<string>\",\n \"mode\": \"<string>\",\n \"names\": \"<string>\",\n \"output\": \"<string>\",\n \"pad\": \"<string>\",\n \"parentArtifact\": \"<string>\",\n \"rows\": \"<string>\",\n \"send\": true,\n \"size\": \"<string>\",\n \"threadId\": \"<string>\",\n \"to\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}Body
Atlas/contact sheet image path
Explicit Ravi/Omni account id for --send
Trim mode padding background (default: auto)
Caption template for sent crops. Supports {name}
Explicit channel for --send
Grid columns (default: 3)
Trim mode square fit: contain or cover (default: contain)
ImageMagick trim fuzz percentage for trim mode (default: 3)
Split mode: raw or trim. Default: raw
Comma-separated crop names, one per cell
Output directory for crops and manifest
Padding around trimmed crop for trim mode (default: 0)
Atlas artifact id to use as provenance
Grid rows (default: 2)
Send each crop to the current or explicit chat target
Output square size for trim mode (default: 512)
Explicit thread/topic id for --send
Explicit chat id for --send
Response
Success — no @Returns schema declared; payload shape is loose.
The response is of type object.