Get a job
curl --request GET \
--url https://api.bitstudio.ai/v1/jobs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bitstudio.ai/v1/jobs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bitstudio.ai/v1/jobs/{id}', 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.bitstudio.ai/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bitstudio.ai/v1/jobs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitstudio.ai/v1/jobs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitstudio.ai/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "33333333-3333-4333-8333-333333333333",
"status": "completed",
"task": "generate",
"created_at": "2026-09-06T12:00:00Z",
"result": {
"image_id": "33333333-3333-4333-8333-333333333333",
"url": "https://media.bitstudio.ai/gen/363a9fad-5816-47c0-aa7a-7c184b1573fe.jpg",
"width": 1792,
"height": 2400
},
"error": null
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"cta": true,
"next_action": "<string>",
"current_plan": "<string>",
"user_message": "<string>",
"extra_context": "<string>"
}Jobs
Get a job
Retrieve a processing status, completed media URL, or safe failure code.
GET
/
v1
/
jobs
/
{id}
Get a job
curl --request GET \
--url https://api.bitstudio.ai/v1/jobs/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.bitstudio.ai/v1/jobs/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.bitstudio.ai/v1/jobs/{id}', 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.bitstudio.ai/v1/jobs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bitstudio.ai/v1/jobs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitstudio.ai/v1/jobs/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitstudio.ai/v1/jobs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "33333333-3333-4333-8333-333333333333",
"status": "completed",
"task": "generate",
"created_at": "2026-09-06T12:00:00Z",
"result": {
"image_id": "33333333-3333-4333-8333-333333333333",
"url": "https://media.bitstudio.ai/gen/363a9fad-5816-47c0-aa7a-7c184b1573fe.jpg",
"width": 1792,
"height": 2400
},
"error": null
}{
"error": "<string>",
"code": "<string>",
"message": "<string>",
"cta": true,
"next_action": "<string>",
"current_plan": "<string>",
"user_message": "<string>",
"extra_context": "<string>"
}Poll with a bounded interval while the status is
pending or generating. On completed, read result.url; use result.image_id from an image result as the source for another image operation. Video result IDs cannot be used as image sources. On failed or policy_blocked, stop and read error.code.
The result is null until a completed media URL is available. Upload IDs are source images, so use Get an image to inspect those.Authorizations
Create an API key in Studio → account menu → API Keys. Keep it on your server.
Path Parameters
Job ID returned by creation.
Response
Current job state.
Available options:
pending, generating, completed, failed, policy_blocked Processing task. This may be more specific than the submitted operation.
Show child attributes
Show child attributes
Show child attributes
Show child attributes