API reference
Spoofzy API reference
The Spoofzy API is organised around REST. It accepts JSON request bodies, returns JSON responses and uses standard HTTP status codes and Bearer authentication. Every operation is listed here with its scope, parameters, response and a request in cURL, Python, Node.js and Ruby.
New to the API? Start with the quick start, which runs the whole upload, job and download flow in one script.
Conventions
- Send
Content-Type: application/jsonon every POST. Bodies are exact: unknown fields return400. - Reading uses
GETand every change usesPOST, including deletes. Query strings are not accepted. - IDs carry a prefix that names their type:
mjob_jobs,fup_uploads,cc_workflow runs,wa_workflows,ws_schedules. - Times are Unix seconds unless a field says otherwise.
- Files never pass through the API: you upload with a signed URL and download from the links in each result.
https://api.spoofzy.com/api/v1Authentication
Authenticate with an API key in the Authorization header: Bearer spc_.... Create and revoke keys in the API panel in Spoofzy Cloud. Each key has a name, a set of scopes and an expiry of 1 to 90 days. The full key is shown once; an account can hold 10 active keys.
Keys are secret. Use them only from your server: requests that carry a web page's Origin header are refused with 403 invalid_origin. A missing or invalid key returns 401 invalid_token.
Scopes
Read capabilities, jobs, workflow runs, Text Removal and caption results.
Create uploads and jobs, start workflow runs, quotes, captions and previews.
List saved originals and voices.
Save and delete originals, voices and the account logo.
List saved workflows, their runs and schedules.
Create, edit and archive workflows, set completion webhooks, manage schedules.
Run a saved workflow and read its results.
A workflow key is created for one saved workflow with only workflows:run. It can run that workflow and, if you allow it, upload sources and read its runs. Nothing else.
Team seats can create keys. Runs that spend credits need a key from the account owner; a seat's key gets 403 owner_required.
curl "https://api.spoofzy.com/api/v1/capabilities" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/capabilities",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/capabilities", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/capabilities")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
Errors
Spoofzy uses HTTP status codes to show whether a request worked: 2xx success, 4xx a problem with the request, 5xx a problem on our side. Every error has the same body. Branch on error.code, which is stable; error.message is for people. Some errors add fields beside code.
Error codes
| Status | Code | Meaning |
|---|---|---|
400 | invalid_request | The body is not the documented JSON object, a GET carries a body, or the URL has a query string. |
400 | invalid_job | A field is missing, unknown or out of range. The message names the problem. |
400 | unsupported_media | The file type is not supported by the chosen engine (R2 images must be JPEG, PNG or WebP). |
401 | invalid_token | The key is missing, malformed, expired or revoked. |
402 | insufficient_credits | The balance cannot cover the run. Includes required_credits, available_credits and topup_url. |
403 | insufficient_scope | The key lacks the scope this endpoint needs. |
403 | owner_required | A team seat's key tried a paid run or an owner-only resource. Use a key from the account owner. |
403 | invalid_origin | The request came from a browser. Call the API from your server. |
404 | not_found | The route or resource does not exist for this account. |
409 | idempotency_conflict | This request_id was already used with a different body. |
409 | state_conflict | A version you sent is stale. Read the resource again and retry. |
413 | invalid_upload_size | The uploaded file is empty or larger than the ticket's max_bytes. |
413 | request_too_large | The JSON body is over 64 KiB. |
415 | invalid_request | A POST without Content-Type: application/json. |
429 | request_rate_limit | Over the account's per-minute request limit. Wait for Retry-After. |
429 | submission_busy | Another start from this key is still settling. Retry with the same request_id. |
429 | credits_busy | The balance was busy. Retry with a new request_id; nothing was charged. |
503 | temporarily_unavailable | Something went wrong on our side. Retry with the same request_id. |
Tool-specific codes, such as quote_busy for Text Removal or workflow_limit for saved workflows, are named on each endpoint's message. Every response includes an X-Request-Id header; include it when you contact support.
{
"error": {
"code": "insufficient_credits",
"message": "This run needs 100 credits and 12 are available. Add credits in Spoofzy Cloud under Developers.",
"required_credits": 100,
"available_credits": 12,
"topup_url": "https://cloud.spoofzy.com/?panel=developers"
}
}
Idempotent requests
Every request that starts work takes a request_id you choose: 8 to 100 letters, digits, _ or -. It makes retries safe. If a request times out, send it again with the same ID and body: you get the original result back with HTTP 200, and nothing runs or is charged twice.
Reusing an ID with a different body returns 409 idempotency_conflict. IDs belong to your account, across all of its keys, and each kind of resource (jobs, workflow runs, library changes, quotes) has its own set.
Start receipts
A job start returns a start receipt. Its status is started when the job is running, rejected when it was refused (see reason; a retry needs a new ID), or unknown when the start could not be confirmed (read the job before starting another; new starts get 409 start_unconfirmed until you do).
After 402 insufficient_credits or 429 credits_busy, nothing was charged and the ID is spent: retry with a new one. After 429 submission_busy or a 5xx, retry with the same one.
curl "https://api.spoofzy.com/api/v1/jobs" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_id": "spoofer",
"request_id": "reel-20261125-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"options": {
"variants": 5
}
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"tool_id": "spoofer",
"request_id": "reel-20261125-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"options": {
"variants": 5,
},
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/jobs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
tool_id: "spoofer",
request_id: "reel-20261125-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
options: {
variants: 5,
},
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/jobs")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
tool_id: "spoofer",
request_id: "reel-20261125-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
options: {
variants: 5,
},
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"start": {
"requestId": "reel-20261125-001",
"jobId": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"status": "started",
"reason": "",
"channel": "api",
"credits": 10,
"filename": "reel.mp4",
"toolId": "spoofer-many",
"createdAt": 1764075600,
"engine": "r1_swift"
},
"job": null
}
Rate limits
All keys on an account share 45 requests per minute, counted in calendar minutes. Every authenticated request counts, polls included. Over the limit, the API returns 429 request_rate_limit with a Retry-After header in seconds.
Starts have their own guard: while one start from a key is still settling, another waits up to 10 seconds and may get 429 submission_busy with Retry-After: 2.
Poll a job every 3 to 15 seconds, back off when it is slow, and use completion webhooks for workflows to avoid polling at all.
HTTP/1.1 429 Too Many Requests
Content-Type: application/json
Retry-After: 60
X-Request-Id: req_4b1e9f0c2d7a4e3b8c6f5a1d0e9b7c2a
{"error": {"code": "request_rate_limit", "message": "Too many requests. Retry after the Retry-After delay."}}
Lists and retention
List endpoints return a fixed window of the newest items: 25 for jobs, workflow runs, Text Removal and captions; 50 for workflows and schedules; every saved original. There is no pagination, so store the IDs you need.
Download links in results point to Spoofzy's content host. Download outputs soon after a job is ready and keep your own copy. Workflow runs and their files are kept for 7 days, Text Removal results for 23 hours and caption ideas for 24 hours.
Core resources
Capabilities
Discover the tools, Spoofer engines, credit rates and balance available to the key's account. Call it on startup instead of hard-coding limits.
The capabilities object
One entry per tool: id, available, mode and batches. When available is false, reason and reasonCode say why.
Engine IDs you can pass as options.engine. R2 engines appear only when they are running.
Your balance and prices.
Show child attributes
Spendable credits right now.
Credits per delivered output, keyed by engine family and media type.
Unix time when the next purchased credit lot expires.
Where the account owner adds credits.
Endpoints
GET/api/v1/capabilitiesRetrieve capabilities
jobs:readReturns every job tool with its availability for this account, the Spoofer engines you can request, the per-output credit rates and the spendable balance.
Returns
A capabilities object. Unavailable tools include reason and reasonCode.
curl "https://api.spoofzy.com/api/v1/capabilities" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/capabilities",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/capabilities", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/capabilities")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"capabilities": [
{
"id": "spoofer",
"available": true,
"mode": "job",
"batches": true
},
{
"id": "metadata-cleaner",
"available": true,
"mode": "job",
"batches": true
},
{
"id": "video-studio",
"available": true,
"mode": "job",
"batches": true
}
],
"spooferEngines": [
"r1_swift",
"r2_advanced",
"r2_ultra"
],
"credits": {
"available": 1240,
"rates": {
"standard_video": 2,
"standard_image": 1,
"metadata_file": 1,
"extreme_video": 12,
"extreme_image": 1,
"ultra_video": 24,
"ultra_image": 2
},
"nextExpiry": 1771851600,
"topupUrl": "https://cloud.spoofzy.com/?panel=developers"
},
"spoofer": {
"toolId": "spoofer",
"engines": [
"r1-swift",
"r2-advanced",
"r2-ultra"
]
}
}
Core resources
Uploads
Every file goes in through a one-time upload ticket. The API never receives file bytes: you send them straight to storage with the signed URL, then reference the upload by its ID when you create a job.
The upload object
Upload ID, prefixed fup_. Pass it as upload_id.
Always PUT.
Signed storage URL. Treat it as a secret until it expires.
Headers to send with the PUT, including the signed Content-Type.
How long the URL accepts the file. At most 900.
The largest file this account can send to this tool. It depends on your plan and the tool, and is the same for every variant count.
How long a finished upload can start a job: 10,800 (3 hours).
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "video/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 314572800,
"start_within_seconds": 10800
}
}
Create an upload ticket
jobs:writeReserves a signed upload URL for one file. Use the same tool_id and filename when you create the job.
Body parameters
The tool that will process the file, such as spoofer or metadata-cleaner. See create a job.
1 to 180 characters, a plain file name with no path.
Must match the extension: image/jpeg, image/png, image/webp, image/heic, image/heif, image/gif, video/mp4, video/quicktime or video/webm.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_id": "spoofer",
"filename": "reel.mp4",
"content_type": "video/mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"tool_id": "spoofer",
"filename": "reel.mp4",
"content_type": "video/mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
tool_id: "spoofer",
filename: "reel.mp4",
content_type: "video/mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
tool_id: "spoofer",
filename: "reel.mp4",
content_type: "video/mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "video/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 314572800,
"start_within_seconds": 10800
}
}
Upload the file
Send the raw file bytes to upload.url with every header in upload.headers. This request goes to storage, so it carries no API key. The link works for expires_in_seconds (15 minutes); the uploaded file can start a job for start_within_seconds (3 hours).
Returns
HTTP 200 with an empty body. The size and type are checked when the job starts.
curl -X PUT "$UPLOAD_URL" \
-H "Content-Type: video/mp4" \
--upload-file ./reel.mp4import requests
# upload = the "upload" object from POST /uploads
with open("reel.mp4", "rb") as source:
response = requests.put(
upload["url"], data=source, headers=upload["headers"], timeout=300
)
response.raise_for_status()import { readFile } from "node:fs/promises";
// upload = the "upload" object from POST /uploads
const response = await fetch(upload.url, {
method: "PUT",
headers: upload.headers,
body: await readFile("reel.mp4"),
});
if (!response.ok) throw new Error(`Upload failed: ${response.status}`);require "net/http"
# upload = the "upload" object from POST /uploads
uri = URI(upload["url"])
request = Net::HTTP::Put.new(uri, upload["headers"])
request.body = File.binread("reel.mp4")
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
raise "Upload failed: #{response.code}" unless response.is_a?(Net::HTTPSuccess)
Core resources
Jobs
A job runs one tool on one uploaded file and delivers one or more outputs. Credits are reserved when the job is accepted and refunded for any output it does not deliver.
The job object
Job ID, prefixed mjob_.
queued, processing, ready or failed.
The tool that ran. Spoofer jobs with more than one variant report spoofer_many.
The source file name.
Unix time the job was created.
ISO 8601 time of the last change.
Why a failed job failed. Empty otherwise.
Set when the job is ready.
Show child attributes
The file, when the job made one output.
One {url, download_url} entry per file when the job made several, followed by {zip_url} entries holding the whole set as ZIP parts.
Present and true when fewer outputs were delivered than requested. Undelivered outputs are refunded.
Present with partial: how many you asked for and got.
{
"id": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"tool_id": "spoofer_many",
"filename": "reel.mp4",
"status": "ready",
"created_at": 1764075600,
"updated_at": "2026-11-25T12:01:42+00:00",
"error": "",
"result": {
"outputs": [
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4"
},
{
"zip_url": "https://content.spoofzy.com/cloud/outputs/archives/reel-5-copies.zip"
}
]
}
}
Create a job
jobs:writeStarts a tool on an uploaded file. For Spoofer, options.variants sets how many unique copies you get from one source.
Body parameters
spoofer, metadata-cleaner, video-studio, ai-retake, synthid-removal, or voicenote for text. Must match the upload.
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
The same filename you used for the upload ticket.
Tool settings. Send {} for the defaults. Unknown keys are rejected.
Show options by tool
Spoofer only. Unique copies to make, 1 to 50. Defaults to 1.
Spoofer only. r1-swift (default), r2-advanced or r2-ultra. R2 Ultra also checks every pair of copies and charges only verified outputs. Check spoofer.engines in capabilities first.
Spoofer only. Flip the source vertically. R1 Swift only.
Metadata Cleaner only. Each defaults to true.
voicenote only, instead of upload_id and filename.
Returns
The start receipt and the job. Save start.jobId. A replay with the same request_id and body returns the same receipt.
curl "https://api.spoofzy.com/api/v1/jobs" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_id": "spoofer",
"request_id": "reel-20261125-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"options": {
"variants": 5,
"engine": "r1-swift"
}
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"tool_id": "spoofer",
"request_id": "reel-20261125-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"options": {
"variants": 5,
"engine": "r1-swift",
},
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/jobs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
tool_id: "spoofer",
request_id: "reel-20261125-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
options: {
variants: 5,
engine: "r1-swift",
},
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/jobs")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
tool_id: "spoofer",
request_id: "reel-20261125-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
options: {
variants: 5,
engine: "r1-swift",
},
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"start": {
"requestId": "reel-20261125-001",
"jobId": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"status": "started",
"reason": "",
"channel": "api",
"credits": 10,
"filename": "reel.mp4",
"toolId": "spoofer-many",
"createdAt": 1764075600,
"engine": "r1_swift"
},
"job": {
"id": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"tool_id": "spoofer_many",
"filename": "reel.mp4",
"status": "queued",
"created_at": 1764075600,
"updated_at": "2026-11-25T12:00:00+00:00",
"error": "",
"result": null
}
}
Retrieve a job
jobs:readReturns the start receipt and the job's current state. Poll this while job.status is queued or processing. Polling costs no credits but counts toward the request limit.
Path parameters
The start.jobId, prefixed mjob_.
Returns
The {start, job} envelope. job.result holds the download links once the job is ready.
curl "https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"start": {
"requestId": "reel-20261125-001",
"jobId": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"status": "started",
"reason": "",
"channel": "api",
"credits": 10,
"filename": "reel.mp4",
"toolId": "spoofer-many",
"createdAt": 1764075600,
"engine": "r1_swift"
},
"job": {
"id": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"tool_id": "spoofer_many",
"filename": "reel.mp4",
"status": "ready",
"created_at": 1764075600,
"updated_at": "2026-11-25T12:01:42+00:00",
"error": "",
"result": {
"outputs": [
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4"
},
{
"zip_url": "https://content.spoofzy.com/cloud/outputs/archives/reel-5-copies.zip"
}
]
}
}
}
Retrieve a job's status
jobs:readA compact status read. Note that status here is the worker's raw value: queued, processing, completed, failed or timed_out. The full job uses ready instead of completed.
Path parameters
The start.jobId.
Returns
jobId, the start phase and the raw worker status.
curl "https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b/status" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b/status",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b/status", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/jobs/mjob_9dddd5ce1b1375bc497feeb871842d4b/status")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"jobId": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"phase": "started",
"status": "completed"
}
List jobs
jobs:readReturns the account's 25 most recent jobs, newest first. There is no pagination; store job IDs on your side if you need a longer history.
Returns
entries, an array of {start, job} envelopes.
curl "https://api.spoofzy.com/api/v1/jobs" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/jobs",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/jobs", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/jobs")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"entries": [
{
"start": {
"requestId": "reel-20261125-001",
"jobId": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"status": "started",
"reason": "",
"channel": "api",
"credits": 10,
"filename": "reel.mp4",
"toolId": "spoofer-many",
"createdAt": 1764075600,
"engine": "r1_swift"
},
"job": {
"id": "mjob_9dddd5ce1b1375bc497feeb871842d4b",
"tool_id": "spoofer_many",
"filename": "reel.mp4",
"status": "ready",
"created_at": 1764075600,
"updated_at": "2026-11-25T12:01:42+00:00",
"error": "",
"result": {
"outputs": [
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-1.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-2.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-3.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-4.mp4"
},
{
"url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4",
"download_url": "https://content.spoofzy.com/cloud/outputs/reel-5.mp4"
},
{
"zip_url": "https://content.spoofzy.com/cloud/outputs/archives/reel-5-copies.zip"
}
]
}
}
}
]
}
Workflows
Workflow runs
Chain up to three tools in one run, for example captions and then 50 copies. A run returns a chain object. Runs and their files are kept for 7 days.
The chain object
Run ID, prefixed cc_.
queued, waiting, processing, completed or failed.
The stages you asked for.
Finished files: name, url, preview_url, size and mime.
ZIP parts of the whole set: url and size.
building, ready, individual (no ZIP) or none.
Credits reserved for the run.
Completion webhook state for runs of a saved workflow.
{
"id": "cc_9951112f8dd2b0e52597c27197f1121c",
"requestId": "batch-20261125-07",
"filename": "photo.jpg",
"channel": "api",
"status": "completed",
"stage": 2,
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
],
"count": 3,
"creditCost": 3,
"createdAt": 1764075600,
"reason": "",
"files": [
{
"name": "photo-1.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-2.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-3.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
}
],
"archives": [
{
"url": "https://content.spoofzy.com/cloud/outputs/chains/archives/photo.zip",
"size": 6551760
}
],
"archiveStatus": "ready",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
Start a workflow run
jobs:writeRuns one to three stages on a source, in the order transform, caption, multiply. Each stage type appears at most once, and the outputs multiply to at most 50. This example removes an AI watermark from a photo, then makes three unique copies.
multiply it is 300 MB for one copy, 100 MB for 2 to 5, 50 MB for 6 to 10 and 20 MB above 10. AI steps keep their own credit prices.Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
One to three stages, each an object with a type.
Show stage types
Unique copies. versions 1 to 50, plus optional mirror (boolean, default true), preset (c, n, s or t) and autocaptions.
Removes AI image watermarks. JPEG, PNG, WebP or HEIC photos.
AI Retake for photos. takes 1 to 5, lighting_enhance, pose_adjustment.
Side-by-side of two images, with layout and output_size as in layout previews.
Video edits, Smart Blur and caption hooks. Their settings are richer; build these in Cloud's workflow builder and run them by ID with saved workflows.
Metadata Cleaner (remove_gps, remove_device, remove_datetime). Must be the only stage.
A voice note from text with your voice_id. Must be the only stage.
The source upload. Send it with filename, or send text for a voice stage.
The source file name, matching the upload.
Second image for a side-by-side pair stage.
File name of the second image.
Script for a voice stage, instead of an upload.
Returns
A chain object. Poll it until status is completed or failed.
curl "https://api.spoofzy.com/api/v1/chains" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "batch-20261125-07",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "photo.jpg",
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
]
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/chains",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "batch-20261125-07",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "photo.jpg",
"stages": [
{
"type": "synthid",
},
{
"type": "multiply",
"versions": 3,
},
],
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/chains", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "batch-20261125-07",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "photo.jpg",
stages: [
{
type: "synthid",
},
{
type: "multiply",
versions: 3,
},
],
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/chains")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "batch-20261125-07",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "photo.jpg",
stages: [
{
type: "synthid",
},
{
type: "multiply",
versions: 3,
},
],
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chain": {
"id": "cc_9951112f8dd2b0e52597c27197f1121c",
"requestId": "batch-20261125-07",
"filename": "photo.jpg",
"channel": "api",
"status": "queued",
"stage": 0,
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
],
"count": 3,
"creditCost": 3,
"createdAt": 1764075600,
"reason": "",
"files": [],
"archives": [],
"archiveStatus": "none",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
}
Retrieve a workflow run
jobs:readReturns a run with its files once it completes. Returns 404 after the 7-day retention.
Path parameters
The run ID, prefixed cc_.
Returns
A chain object.
curl "https://api.spoofzy.com/api/v1/chains/cc_9951112f8dd2b0e52597c27197f1121c" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/chains/cc_9951112f8dd2b0e52597c27197f1121c",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/chains/cc_9951112f8dd2b0e52597c27197f1121c", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/chains/cc_9951112f8dd2b0e52597c27197f1121c")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chain": {
"id": "cc_9951112f8dd2b0e52597c27197f1121c",
"requestId": "batch-20261125-07",
"filename": "photo.jpg",
"channel": "api",
"status": "completed",
"stage": 2,
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
],
"count": 3,
"creditCost": 3,
"createdAt": 1764075600,
"reason": "",
"files": [
{
"name": "photo-1.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-2.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-3.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
}
],
"archives": [
{
"url": "https://content.spoofzy.com/cloud/outputs/chains/archives/photo.zip",
"size": 6551760
}
],
"archiveStatus": "ready",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
}
List workflow runs
jobs:readReturns the 25 most recent runs.
Returns
{chains: [...]}.
curl "https://api.spoofzy.com/api/v1/chains" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/chains",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/chains", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/chains")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chains": [
{
"id": "cc_9951112f8dd2b0e52597c27197f1121c",
"requestId": "batch-20261125-07",
"filename": "photo.jpg",
"channel": "api",
"status": "completed",
"stage": 2,
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
],
"count": 3,
"creditCost": 3,
"createdAt": 1764075600,
"reason": "",
"files": [
{
"name": "photo-1.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-2.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-3.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
}
],
"archives": [
{
"url": "https://content.spoofzy.com/cloud/outputs/chains/archives/photo.zip",
"size": 6551760
}
],
"archiveStatus": "ready",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
]
}
Workflows
Saved workflows
Save a stage list once and run it by ID from scripts, schedules or a workflow key. Every save bumps version; runs and schedules pin the version they were created with.
The workflow object
Prefixed wa_.
Your label.
The input type it takes, such as video/mp4.
The saved stage list.
Files each run delivers.
Bumped by every save. Send it back with edits and runs.
Whether the workflow accepts runs.
The webhook URL, or empty.
Endpoints
GET/api/v1/automationsPOST/api/v1/automationsGET/api/v1/automations/{workflow_id}POST/api/v1/automations/{workflow_id}POST/api/v1/automations/{workflow_id}/archivePOST/api/v1/automations/{workflow_id}/runsPOST/api/v1/automations/{workflow_id}/uploadsGET/api/v1/automations/{workflow_id}/runs/{chain_id}POST/api/v1/automations/{workflow_id}/deliveryGET/api/v1/automation-runs{
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 3,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
}
List saved workflows
workflows:readReturns up to 50 workflows.
Returns
{workflows: [...]}.
curl "https://api.spoofzy.com/api/v1/automations" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/automations",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflows": [
{
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 3,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
}
]
}
Create a workflow
workflows:writeSaves a named stage list. An account can keep 50 workflows that are not archived.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
1 to 80 characters.
The input type the workflow takes, such as video/mp4 or image/jpeg, or text/plain for a voice workflow.
The same stage list as a workflow run.
Disabled workflows refuse new runs.
Returns
A workflow object.
curl "https://api.spoofzy.com/api/v1/automations" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "wf-daily-pack",
"name": "Daily reel pack",
"content_type": "video/mp4",
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"enabled": true
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "wf-daily-pack",
"name": "Daily reel pack",
"content_type": "video/mp4",
"stages": [
{
"type": "multiply",
"versions": 10,
},
],
"enabled": True,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "wf-daily-pack",
name: "Daily reel pack",
content_type: "video/mp4",
stages: [
{
type: "multiply",
versions: 10,
},
],
enabled: true,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "wf-daily-pack",
name: "Daily reel pack",
content_type: "video/mp4",
stages: [
{
type: "multiply",
versions: 10,
},
],
enabled: true,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflow": {
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 1,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": ""
}
}
Retrieve a workflow
workflows:readReturns one workflow, including its current version.
Path parameters
Prefixed wa_.
Returns
A workflow object.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflow": {
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 3,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
}
}
Update a workflow
workflows:writeReplaces the name, content type, stages and enabled flag.
Path parameters
Prefixed wa_.
Body parameters
The workflow's current version. A stale version returns 409 state_conflict.
1 to 80 characters.
The input type, such as video/mp4.
The new stage list.
Whether new runs are accepted.
Returns
The updated workflow with a new version.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 3,
"name": "Daily reel pack",
"content_type": "video/mp4",
"stages": [
{
"type": "multiply",
"versions": 20
}
],
"enabled": true
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"version": 3,
"name": "Daily reel pack",
"content_type": "video/mp4",
"stages": [
{
"type": "multiply",
"versions": 20,
},
],
"enabled": True,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
version: 3,
name: "Daily reel pack",
content_type: "video/mp4",
stages: [
{
type: "multiply",
versions: 20,
},
],
enabled: true,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
version: 3,
name: "Daily reel pack",
content_type: "video/mp4",
stages: [
{
type: "multiply",
versions: 20,
},
],
enabled: true,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflow": {
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 20
}
],
"outputCount": 20,
"version": 4,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
}
}
Archive a workflow
workflows:writeArchives a workflow. It stops accepting runs and stops counting toward the 50-workflow limit.
Path parameters
Prefixed wa_.
Body parameters
The workflow's current version. A stale version returns 409 state_conflict.
Returns
The archived workflow.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/archive" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 4
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/archive",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"version": 4,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/archive", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
version: 4,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/archive")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
version: 4,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflow": {
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": true,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 5,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
}
}
Run a saved workflow
workflows:runRuns the workflow on an upload, a saved original or text. A workflow key (a key tied to one workflow) can call this endpoint and nothing else.
Path parameters
Prefixed wa_.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The workflow's current version. A stale version returns 409 state_conflict.
A source from the workflow's upload endpoint. Send with filename.
The source file name.
A saved original, instead of an upload.
The second image for a side-by-side workflow.
Script for a voice workflow.
Returns
A chain object.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "daily-20261125",
"version": 3,
"master_id": "eb0a191797624dd3a48fa681d3061212"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "daily-20261125",
"version": 3,
"master_id": "eb0a191797624dd3a48fa681d3061212",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "daily-20261125",
version: 3,
master_id: "eb0a191797624dd3a48fa681d3061212",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "daily-20261125",
version: 3,
master_id: "eb0a191797624dd3a48fa681d3061212",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chain": {
"id": "cc_a53108f7543b75adbb34afc035d4cdf6",
"requestId": "daily-20261125",
"filename": "reel.mp4",
"channel": "api",
"status": "queued",
"stage": 0,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"count": 10,
"creditCost": 20,
"createdAt": 1764075600,
"reason": "",
"files": [],
"archives": [],
"archiveStatus": "none",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
}
Create a workflow upload ticket
workflows:runSame as create an upload, scoped to one workflow so a workflow key can send its own sources.
Path parameters
Prefixed wa_.
Body parameters
The workflow's current version. A stale version returns 409 state_conflict.
1 to 180 characters, a plain file name with no path.
Must match the extension: image/jpeg, image/png, image/webp, image/heic, image/heif, image/gif, video/mp4, video/quicktime or video/webm.
primary (default) or secondary for side-by-side.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 3,
"filename": "reel.mp4",
"content_type": "video/mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"version": 3,
"filename": "reel.mp4",
"content_type": "video/mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
version: 3,
filename: "reel.mp4",
content_type: "video/mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
version: 3,
filename: "reel.mp4",
content_type: "video/mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "video/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 314572800,
"start_within_seconds": 10800
}
}
Retrieve a saved workflow run
workflows:runReads one run of this workflow. Workflow keys use it to fetch their results.
Path parameters
Prefixed wa_.
Prefixed cc_.
Returns
A chain object.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs/cc_9951112f8dd2b0e52597c27197f1121c" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs/cc_9951112f8dd2b0e52597c27197f1121c",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs/cc_9951112f8dd2b0e52597c27197f1121c", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/runs/cc_9951112f8dd2b0e52597c27197f1121c")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chain": {
"id": "cc_9951112f8dd2b0e52597c27197f1121c",
"requestId": "batch-20261125-07",
"filename": "photo.jpg",
"channel": "api",
"status": "completed",
"stage": 2,
"stages": [
{
"type": "synthid"
},
{
"type": "multiply",
"versions": 3
}
],
"count": 3,
"creditCost": 3,
"createdAt": 1764075600,
"reason": "",
"files": [
{
"name": "photo-1.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-1-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-2.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-2-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
},
{
"name": "photo-3.jpg",
"url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3.jpg",
"preview_url": "https://content.spoofzy.com/cloud/outputs/chains/photo-3-preview.jpg",
"size": 2183920,
"mime": "image/jpeg"
}
],
"archives": [
{
"url": "https://content.spoofzy.com/cloud/outputs/chains/archives/photo.zip",
"size": 6551760
}
],
"archiveStatus": "ready",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
}
Set the completion webhook
workflows:writeSends a signed workflow.finished event to your HTTPS URL when each run of this workflow finishes. Send an empty url to turn it off. Every save returns a new signingSecret and bumps the workflow version. See completion webhooks.
Path parameters
Prefixed wa_.
Body parameters
The workflow's current version. A stale version returns 409 state_conflict.
Public https:// URL on port 443, up to 2,048 characters. No IP addresses, credentials or fragments.
Returns
The workflow and its signingSecret, shown only in this response.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/delivery" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 3,
"url": "https://hooks.example.com/spoofzy"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/delivery",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"version": 3,
"url": "https://hooks.example.com/spoofzy",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/delivery", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
version: 3,
url: "https://hooks.example.com/spoofzy",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/delivery")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
version: 3,
url: "https://hooks.example.com/spoofzy",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"workflow": {
"id": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"name": "Daily reel pack",
"contentType": "video/mp4",
"enabled": true,
"archived": false,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"outputCount": 10,
"version": 4,
"createdAt": 1764075600,
"updatedAt": 1764079200,
"completionUrl": "https://hooks.example.com/spoofzy"
},
"signingSecret": "kq3V9xYb2ZtN7mL0pW4sR8dF1hJ6cA5eG3uT9iO2nBv"
}
List saved workflow runs
workflows:readThe 25 most recent runs across all saved workflows. Runs past the 7-day retention show status: "expired".
Returns
{runs: [...]}.
curl "https://api.spoofzy.com/api/v1/automation-runs" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/automation-runs",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automation-runs", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automation-runs")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"runs": [
{
"chainId": "cc_9951112f8dd2b0e52597c27197f1121c",
"workflowId": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"workflowVersion": 3,
"workflowName": "Daily reel pack",
"requestId": "daily-20261125",
"createdAt": 1764075600,
"status": "completed",
"delivery": {
"status": "delivered",
"attempts": 1
}
}
]
}
Workflows
Schedules
Run a saved workflow on a saved original every few hours. Each run uses the API credit rates of its steps; creating and reading schedules is free.
The schedule object
Prefixed ws_.
scheduled, paused, finished or attention_required.
api_credits for schedules created with an API key.
When and how often it runs.
The latest run and why it failed, if it did.
Endpoints
GET/api/v1/schedulesPOST/api/v1/automations/{workflow_id}/schedulesPOST/api/v1/schedules/{schedule_id}{
"id": "ws_799855594adc0f2bd7302c69d3234b5a",
"workflowId": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"workflowVersion": 3,
"billingMode": "api_credits",
"version": 1,
"intervalHours": 24,
"nextRunAt": 1764162000,
"remainingRuns": 30,
"enabled": true,
"status": "scheduled",
"lastChainId": null,
"lastFailure": null,
"skippedIntervals": 0
}
List schedules
workflows:readReturns up to 50 schedules.
Returns
{schedules: [...]}.
curl "https://api.spoofzy.com/api/v1/schedules" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/schedules",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/schedules", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/schedules")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"schedules": [
{
"id": "ws_799855594adc0f2bd7302c69d3234b5a",
"workflowId": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"workflowVersion": 3,
"billingMode": "api_credits",
"version": 1,
"intervalHours": 24,
"nextRunAt": 1764162000,
"remainingRuns": 30,
"enabled": true,
"status": "scheduled",
"lastChainId": null,
"lastFailure": null,
"skippedIntervals": 0
}
]
}
Schedule a workflow
workflows:writeworkflows:runCreates a repeating run. An account can keep 50 schedules.
Path parameters
Prefixed wa_.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The workflow's current version. A stale version returns 409 state_conflict.
The saved original each run uses.
Second original for a side-by-side workflow.
1 to 168.
Unix time of the first run, 30 seconds to 90 days ahead.
1 to 100.
Returns
A schedule object.
curl "https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/schedules" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "sched-daily-pack",
"version": 3,
"master_id": "eb0a191797624dd3a48fa681d3061212",
"interval_hours": 24,
"first_run_at": 1764079200,
"max_runs": 30
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/schedules",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "sched-daily-pack",
"version": 3,
"master_id": "eb0a191797624dd3a48fa681d3061212",
"interval_hours": 24,
"first_run_at": 1764079200,
"max_runs": 30,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/schedules", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "sched-daily-pack",
version: 3,
master_id: "eb0a191797624dd3a48fa681d3061212",
interval_hours: 24,
first_run_at: 1764079200,
max_runs: 30,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/automations/wa_2e2e2d35a15a6146a9bbbc246a9ea4cd/schedules")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "sched-daily-pack",
version: 3,
master_id: "eb0a191797624dd3a48fa681d3061212",
interval_hours: 24,
first_run_at: 1764079200,
max_runs: 30,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"schedule": {
"id": "ws_799855594adc0f2bd7302c69d3234b5a",
"workflowId": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"workflowVersion": 3,
"billingMode": "api_credits",
"version": 1,
"intervalHours": 24,
"nextRunAt": 1764162000,
"remainingRuns": 30,
"enabled": true,
"status": "scheduled",
"lastChainId": null,
"lastFailure": null,
"skippedIntervals": 0
}
}
Pause or resume a schedule
workflows:writePauses or resumes a schedule. Resuming also needs workflows:run.
Path parameters
Prefixed ws_.
Body parameters
The schedule's current version.
false pauses, true resumes.
Returns
The updated schedule.
curl "https://api.spoofzy.com/api/v1/schedules/ws_799855594adc0f2bd7302c69d3234b5a" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 1,
"enabled": false
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/schedules/ws_799855594adc0f2bd7302c69d3234b5a",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"version": 1,
"enabled": False,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/schedules/ws_799855594adc0f2bd7302c69d3234b5a", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
version: 1,
enabled: false,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/schedules/ws_799855594adc0f2bd7302c69d3234b5a")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
version: 1,
enabled: false,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"schedule": {
"id": "ws_799855594adc0f2bd7302c69d3234b5a",
"workflowId": "wa_2e2e2d35a15a6146a9bbbc246a9ea4cd",
"workflowVersion": 3,
"billingMode": "api_credits",
"version": 2,
"intervalHours": 24,
"nextRunAt": 1764162000,
"remainingRuns": 30,
"enabled": false,
"status": "paused",
"lastChainId": null,
"lastFailure": null,
"skippedIntervals": 0
}
}
Library
Saved originals
Keep source files in your library and make fresh copies from them at any time, without uploading again. Schedules run on saved originals.
List saved originals
library:readReturns every saved original (up to 1,000).
Returns
{masters: [...]}.
curl "https://api.spoofzy.com/api/v1/masters" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/masters",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/masters", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/masters")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"masters": [
{
"id": "eb0a191797624dd3a48fa681d3061212",
"name": "Beach reel",
"filename": "reel.mp4",
"mime": "video/mp4",
"size": 18874368,
"createdAt": 1764075600
}
]
}
Save an original
library:writeSaves an uploaded file (up to 300 MiB) to the library. Saving the same bytes twice returns the existing original with existing: true.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
Your label for it.
Returns
A master object.
curl "https://api.spoofzy.com/api/v1/masters" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "save-beach-reel",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"name": "Beach reel"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/masters",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "save-beach-reel",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"name": "Beach reel",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/masters", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "save-beach-reel",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
name: "Beach reel",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/masters")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "save-beach-reel",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
name: "Beach reel",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"master": {
"id": "eb0a191797624dd3a48fa681d3061212",
"name": "Beach reel",
"filename": "reel.mp4",
"mime": "video/mp4",
"size": 18874368,
"createdAt": 1764075600
}
}
Generate copies from an original
jobs:writelibrary:readStarts a run that makes unique copies of a saved original.
Path parameters
The original's 32-character ID.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
Copy settings. versions (1 to 50) is the number of copies.
Returns
A chain object.
curl "https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/generate" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "beach-20261125",
"settings": {
"versions": 10
}
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/generate",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "beach-20261125",
"settings": {
"versions": 10,
},
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/generate", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "beach-20261125",
settings: {
versions: 10,
},
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/generate")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "beach-20261125",
settings: {
versions: 10,
},
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"chain": {
"id": "cc_5e878791839c50eee05c0507f99c1c29",
"requestId": "beach-20261125",
"filename": "reel.mp4",
"channel": "api",
"status": "queued",
"stage": 0,
"stages": [
{
"type": "multiply",
"versions": 10
}
],
"count": 10,
"creditCost": 20,
"createdAt": 1764075600,
"reason": "",
"files": [],
"archives": [],
"archiveStatus": "none",
"delivery": {
"status": "not_configured",
"attempts": 0,
"nextAttemptAt": null,
"lastStatus": null
}
}
}
Delete an original
library:writeDeletes a saved original. This cannot be undone.
Path parameters
The original's ID.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
Must be true.
Returns
{deleted: true}.
curl "https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/delete" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "delete-beach-reel",
"confirm": true
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/delete",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "delete-beach-reel",
"confirm": True,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/delete", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "delete-beach-reel",
confirm: true,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/masters/eb0a191797624dd3a48fa681d3061212/delete")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "delete-beach-reel",
confirm: true,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"deleted": true
}
Library
Voices
Manage the creator voice used by voice notes and voice workflow stages. Each plan includes one voice clone.
Retrieve the voice library
library:readReturns the account's voices and any pending operation.
Returns
{library: {...}}.
curl "https://api.spoofzy.com/api/v1/voices" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/voices",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voices", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voices")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"library": {
"voices": [
{
"id": "8KfLs2Q9xWm3TzR1",
"name": "Mia"
}
],
"active_voice_id": "8KfLs2Q9xWm3TzR1",
"pending": null
}
}
Retrieve a voice operation
library:readReads the state of an enrolment or deletion.
Path parameters
Prefixed cv_.
Returns
A job with status.
curl "https://api.spoofzy.com/api/v1/voices/cv_b95677216e439d96ec4fba1240a3c1f8" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/voices/cv_b95677216e439d96ec4fba1240a3c1f8",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voices/cv_b95677216e439d96ec4fba1240a3c1f8", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voices/cv_b95677216e439d96ec4fba1240a3c1f8")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "cv_b95677216e439d96ec4fba1240a3c1f8",
"status": "completed",
"action": "enroll",
"reason": ""
}
}
Create a voice sample upload
library:writeAn upload ticket for a WAV, MP3, OGG, M4A or FLAC sample up to 20 MiB.
Body parameters
The sample's file name.
The audio type matching the extension.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/voice-uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filename": "sample.m4a",
"content_type": "audio/mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/voice-uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"filename": "sample.m4a",
"content_type": "audio/mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voice-uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
filename: "sample.m4a",
content_type: "audio/mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voice-uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
filename: "sample.m4a",
content_type: "audio/mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "audio/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 20971520,
"start_within_seconds": 10800
}
}
Add a voice
library:writeCreates a voice from a sample. You must have the speaker's consent.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
The voice's name.
What the sample says, 10 to 2,000 characters.
Must be true: you have the speaker's permission.
Returns
A job for the enrolment.
curl "https://api.spoofzy.com/api/v1/voices" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "voice-mia-01",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"name": "Mia",
"transcript": "Hey, it'\''s me. I just got back from the beach and I have so much to tell you.",
"consent": true
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/voices",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "voice-mia-01",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"name": "Mia",
"transcript": "Hey, it's me. I just got back from the beach and I have so much to tell you.",
"consent": True,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voices", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "voice-mia-01",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
name: "Mia",
transcript: "Hey, it's me. I just got back from the beach and I have so much to tell you.",
consent: true,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voices")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "voice-mia-01",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
name: "Mia",
transcript: "Hey, it's me. I just got back from the beach and I have so much to tell you.",
consent: true,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "cv_b95677216e439d96ec4fba1240a3c1f8",
"status": "pending",
"action": "enroll",
"reason": ""
}
}
Rename a voice
library:writeChanges a voice's name.
Body parameters
The voice's id.
The new name.
Returns
The updated library.
curl "https://api.spoofzy.com/api/v1/voices/rename" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"voice_id": "8KfLs2Q9xWm3TzR1",
"name": "Mia (main)"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/voices/rename",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"voice_id": "8KfLs2Q9xWm3TzR1",
"name": "Mia (main)",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voices/rename", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
voice_id: "8KfLs2Q9xWm3TzR1",
name: "Mia (main)",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voices/rename")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
voice_id: "8KfLs2Q9xWm3TzR1",
name: "Mia (main)",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"library": {
"voices": [
{
"id": "8KfLs2Q9xWm3TzR1",
"name": "Mia (main)"
}
],
"active_voice_id": "8KfLs2Q9xWm3TzR1",
"pending": null
}
}
Delete a voice
library:writeDeletes a voice. This cannot be undone.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The voice's id.
Must be true.
Returns
A job for the deletion.
curl "https://api.spoofzy.com/api/v1/voices/delete" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "voice-delete-01",
"voice_id": "8KfLs2Q9xWm3TzR1",
"confirm": true
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/voices/delete",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "voice-delete-01",
"voice_id": "8KfLs2Q9xWm3TzR1",
"confirm": True,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/voices/delete", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "voice-delete-01",
voice_id: "8KfLs2Q9xWm3TzR1",
confirm: true,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/voices/delete")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "voice-delete-01",
voice_id: "8KfLs2Q9xWm3TzR1",
confirm: true,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "cv_b95677216e439d96ec4fba1240a3c1f8",
"status": "pending",
"action": "delete",
"reason": ""
}
}
Library
Logo
Set the account logo used by watermark settings.
Create a logo upload
library:writeAn upload ticket for a PNG, JPEG or WebP up to 5 MiB. The link lasts 15 minutes.
Body parameters
1 to 180 characters, a plain file name with no path.
Must match the extension: image/jpeg, image/png, image/webp, image/heic, image/heif, image/gif, video/mp4, video/quicktime or video/webm.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/logo-uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filename": "logo.png",
"content_type": "image/png"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/logo-uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"filename": "logo.png",
"content_type": "image/png",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/logo-uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
filename: "logo.png",
content_type: "image/png",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/logo-uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
filename: "logo.png",
content_type: "image/png",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "image/png"
},
"max_bytes": 5242880
}
}
Set the logo
library:writeMakes the uploaded image the account logo.
Body parameters
The upload.id from the matching upload ticket.
Returns
{saved: true}.
curl "https://api.spoofzy.com/api/v1/logos" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/logos",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/logos", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/logos")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"saved": true
}
AI tools
Text Removal
Remove burned-in captions and text from a video. You get a quote first and accept its exact credit cost, so a run never costs more than you agreed to. Clips can be up to 90 seconds, SDR and 1080p.
Create a Text Removal upload
jobs:writeAn upload ticket for MP4, MOV, M4V or WebM up to 80 MB.
Body parameters
1 to 180 characters, a plain file name with no path.
Must match the extension: image/jpeg, image/png, image/webp, image/heic, image/heif, image/gif, video/mp4, video/quicktime or video/webm.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/text-removal/uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filename": "reel.mp4",
"content_type": "video/mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/text-removal/uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"filename": "reel.mp4",
"content_type": "video/mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/text-removal/uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
filename: "reel.mp4",
content_type: "video/mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/text-removal/uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
filename: "reel.mp4",
content_type: "video/mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "video/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 83886080,
"start_within_seconds": 10800
}
}
Quote Text Removal
jobs:writeInspects the video and returns its exact price. The quote is valid for 15 minutes.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
The same filename you used for the upload ticket.
Returns
A job in quoted status with credits and quoteExpiresAt.
curl "https://api.spoofzy.com/api/v1/text-removal/quote" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "clean-reel-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/text-removal/quote",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "clean-reel-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/text-removal/quote", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "clean-reel-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/text-removal/quote")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "clean-reel-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "7a674c327bfa07f7c1204fb38ca6ef3b",
"status": "quoted",
"credits": 30,
"duration": 14.6,
"width": 1080,
"height": 1920,
"quoteExpiresAt": 1764076500,
"expiresAt": 1764158400,
"createdAt": 1764075600,
"filename": "reel.mp4",
"files": []
}
}
Accept a quote
jobs:writeStarts the removal. accepted_credits must equal the quoted credits.
Path parameters
The quote's id.
Body parameters
The exact credit cost from the quote.
Returns
The job, now pending.
curl "https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accepted_credits": 30
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"accepted_credits": 30,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
accepted_credits: 30,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
accepted_credits: 30,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "7a674c327bfa07f7c1204fb38ca6ef3b",
"status": "pending",
"credits": 30,
"filename": "reel.mp4",
"files": []
}
}
Retrieve a Text Removal job
jobs:readPoll until status is completed or failed. Results are kept for 23 hours.
Path parameters
The job's id.
Returns
The job with files when completed.
curl "https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "7a674c327bfa07f7c1204fb38ca6ef3b",
"status": "completed",
"credits": 30,
"filename": "reel.mp4",
"files": [
{
"kind": "result",
"mime": "video/quicktime",
"size": 26214400,
"url": "https://content.spoofzy.com/cloud/outputs/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b.mov",
"downloadUrl": "https://content.spoofzy.com/cloud/outputs/text-removal/7a674c327bfa07f7c1204fb38ca6ef3b.mov"
}
]
}
}
List Text Removal jobs
jobs:readThe 25 most recent jobs, plus whether a new one can start and the size and length limits.
Returns
jobs, canStart, maxBytes, maxSeconds and a notice.
curl "https://api.spoofzy.com/api/v1/text-removal" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/text-removal",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/text-removal", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/text-removal")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"jobs": [
{
"id": "7a674c327bfa07f7c1204fb38ca6ef3b",
"status": "completed",
"credits": 30,
"filename": "reel.mp4"
}
],
"canStart": true,
"maxBytes": 83886080,
"maxSeconds": 90,
"notice": "Experimental AI text removal: up to 90 seconds, SDR and 1080p."
}
AI tools
Caption copy
Generate on-screen hook and caption ideas from a video. Generations are free and kept for 24 hours; one can run at a time.
Create a caption upload
jobs:writeAn upload ticket for a video up to 80 MB and 90 seconds.
Body parameters
1 to 180 characters, a plain file name with no path.
Must match the extension: image/jpeg, image/png, image/webp, image/heic, image/heif, image/gif, video/mp4, video/quicktime or video/webm.
Returns
An upload object.
curl "https://api.spoofzy.com/api/v1/caption-copy/uploads" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filename": "reel.mp4",
"content_type": "video/mp4"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/caption-copy/uploads",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"filename": "reel.mp4",
"content_type": "video/mp4",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/caption-copy/uploads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
filename: "reel.mp4",
content_type: "video/mp4",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/caption-copy/uploads")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
filename: "reel.mp4",
content_type: "video/mp4",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"upload": {
"id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"method": "PUT",
"url": "https://spoofzy-uploads.s3.amazonaws.com/cloud/sources/fup_76ee3de97a1b8b903319b7c013d8c877?X-Amz-Signature=…",
"headers": {
"Content-Type": "video/mp4"
},
"expires_in_seconds": 900,
"max_bytes": 83886080,
"start_within_seconds": 10800
}
}
Generate captions
jobs:writeStarts a generation.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
The same filename you used for the upload ticket.
reel-native, cheeky, thirst-trap or after-dark. The last two need adult_confirmed: true.
Up to 500 characters of direction.
1 to 10 ideas. Defaults to 4.
Confirms adult tones are allowed for this content.
Returns
A job, prefixed ch_. Poll it for options.
curl "https://api.spoofzy.com/api/v1/caption-copy" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "hooks-reel-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"tone": "reel-native",
"count": 4
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/caption-copy",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "hooks-reel-001",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "reel.mp4",
"tone": "reel-native",
"count": 4,
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/caption-copy", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "hooks-reel-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
tone: "reel-native",
count: 4,
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/caption-copy")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "hooks-reel-001",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "reel.mp4",
tone: "reel-native",
count: 4,
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "ch_7a7dc1cda8a5f2b4be2dcb815907d56e",
"status": "pending",
"createdAt": 1764075600,
"expiresAt": 1764162000,
"tone": "reel-native",
"options": [],
"count": 4,
"creditCost": 0
}
}
Retrieve a generation
jobs:readReturns the ideas once ready.
Path parameters
Prefixed ch_.
Returns
The job with options.
curl "https://api.spoofzy.com/api/v1/caption-copy/ch_7a7dc1cda8a5f2b4be2dcb815907d56e" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/caption-copy/ch_7a7dc1cda8a5f2b4be2dcb815907d56e",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/caption-copy/ch_7a7dc1cda8a5f2b4be2dcb815907d56e", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/caption-copy/ch_7a7dc1cda8a5f2b4be2dcb815907d56e")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"job": {
"id": "ch_7a7dc1cda8a5f2b4be2dcb815907d56e",
"status": "completed",
"tone": "reel-native",
"options": [
"POV: the beach was the easy part",
"Wait for the last shot"
],
"outputCount": 2,
"count": 4,
"creditCost": 0
}
}
List generations
jobs:readThe 25 most recent generations.
Returns
{jobs: [...]}.
curl "https://api.spoofzy.com/api/v1/caption-copy" \
-H "Authorization: Bearer $SPOOFZY_API_KEY"import os
import requests
response = requests.get(
"https://api.spoofzy.com/api/v1/caption-copy",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/caption-copy", {
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
},
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/caption-copy")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"jobs": [
{
"id": "ch_7a7dc1cda8a5f2b4be2dcb815907d56e",
"status": "completed",
"tone": "reel-native"
}
]
}
AI tools
Side-by-side layouts
Preview how two images combine before you run a side-by-side workflow.
Endpoints
POST/api/v1/layouts/side-by-side/previewPreview a side-by-side layout
jobs:writeRenders a preview of two uploaded images. The preview link lasts up to 15 minutes.
Body parameters
Your unique key for this request: 8 to 100 letters, digits, _ or -. Send the same key and body again to retry safely. See idempotent requests.
The upload.id from the matching upload ticket.
The same filename you used for the upload ticket.
The second image's upload.
The second image's file name.
How the two images sit together.
Show child attributes
auto, square or portrait.
keep or fill.
off or on.
white, black, pink or blue.
Swap left and right.
original, 1080p or 4k.
Returns
A preview with a temporary url.
curl "https://api.spoofzy.com/api/v1/layouts/side-by-side/preview" \
-H "Authorization: Bearer $SPOOFZY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_id": "pair-preview-01",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "left.jpg",
"secondary_upload_id": "fup_c762111338c92c54547b35496efc4218",
"secondary_filename": "right.jpg",
"layout": {
"shape": "portrait",
"fit": "fill",
"gap": "off",
"background": "black",
"swap": false
},
"output_size": "1080p"
}'import os
import requests
response = requests.post(
"https://api.spoofzy.com/api/v1/layouts/side-by-side/preview",
headers={"Authorization": f"Bearer {os.environ['SPOOFZY_API_KEY']}"},
json={
"request_id": "pair-preview-01",
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "left.jpg",
"secondary_upload_id": "fup_c762111338c92c54547b35496efc4218",
"secondary_filename": "right.jpg",
"layout": {
"shape": "portrait",
"fit": "fill",
"gap": "off",
"background": "black",
"swap": False,
},
"output_size": "1080p",
},
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.spoofzy.com/api/v1/layouts/side-by-side/preview", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SPOOFZY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
request_id: "pair-preview-01",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "left.jpg",
secondary_upload_id: "fup_c762111338c92c54547b35496efc4218",
secondary_filename: "right.jpg",
layout: {
shape: "portrait",
fit: "fill",
gap: "off",
background: "black",
swap: false,
},
output_size: "1080p",
}),
});
console.log(response.status, await response.json());require "json"
require "net/http"
uri = URI("https://api.spoofzy.com/api/v1/layouts/side-by-side/preview")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("SPOOFZY_API_KEY")}"
request["Content-Type"] = "application/json"
request.body = JSON.generate({
request_id: "pair-preview-01",
upload_id: "fup_76ee3de97a1b8b903319b7c013d8c877",
filename: "left.jpg",
secondary_upload_id: "fup_c762111338c92c54547b35496efc4218",
secondary_filename: "right.jpg",
layout: {
shape: "portrait",
fit: "fill",
gap: "off",
background: "black",
swap: false,
},
output_size: "1080p",
})
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
http.request(request)
end
puts response.code, response.body
{
"preview": {
"id": "cpair_33c9b363aa666f43190fa83f",
"width": 1080,
"height": 1920,
"warnings": [],
"expiresAt": 1764076500,
"url": "https://content.spoofzy.com/cloud/outputs/previews/pair.jpg"
},
"inputs": [
{
"upload_id": "fup_76ee3de97a1b8b903319b7c013d8c877",
"filename": "left.jpg"
},
{
"upload_id": "fup_c762111338c92c54547b35496efc4218",
"filename": "right.jpg"
}
]
}