Introduction
Submit video scripts, campaign transcripts, and creator production briefs in state and define up to 64 independent questions for HeyGen Decision 1 using noul, choice, or score to receive structured answers keyed by your names.
| Field | Value |
|---|---|
| Input | Text |
| Output | Structured data |
| Publisher and model | HeyGen — HeyGen Decision 1 |
| Public API name | heygen/decision-1/decision |
| State format | String, JSON object, or array |
| Answer types | noul, choice, score |
| Question cap | Up to 64 parallel |
| Token ceiling | 64k input tokens |
| Choice options | 1–255 named options |
| Score levels | 2–10 ordered levels |
| Measured probe | 2.48 s, 678 input tokens |
| Billing | Input tokens only |
Key features & highlights
Tailored for video and creator operations
Evaluates spoken scripts, caption transcripts, campaign briefs, and production support tickets with typed choices, yes/no checks, and ordered quality rubrics.
Probabilities, choices, and rubrics from HeyGen Decision 1
Ask HeyGen Decision 1 using noul for 0–1 yes probabilities, choice for 1–255 described options with confidence, or score for 2–10 weighted rubric levels with a returned legend.
Score video scripts in one pass
Send video scripts, campaign transcripts, and creator production briefs once inside state and let HeyGen Decision 1 evaluate up to 64 independent questions in parallel so your application can branch without chaining prompts.
Calibrate HeyGen Decision 1 thresholds in code
Use HeyGen Decision 1 confidence and probability distributions to automate high-certainty decisions over video scripts, campaign transcripts, and creator production briefs while escalating ambiguous items to a reviewer or generative model.
Request parameters
| Parameter | Required | Description |
|---|---|---|
questions | Yes | Map of 1–64 named questions for HeyGen Decision 1, each specifying type (noul, choice, or score), instructions, and criteria (1–255 choice options or 2–10 score levels). |
state | Yes | Text, JSON object, or array holding video scripts, campaign transcripts, and creator production briefs for HeyGen Decision 1; every question reads this state independently. at least 1 characters |
Pricing
$0.00014 / 1,000 tokens
HeyGen Decision 1 bills per measured input token with free output tokens; the acceptance hold uses the 64k-token cap and releases the difference at settlement.
Use cases
Screen video scripts before rendering
Check whether a spoken script matches brand tone, contains a clear call to action, and fits the target campaign template before spending render time.
Triage creator and billing support tickets
Classify refund intent, owning team, and urgency across studio and account support requests in a single call.
Score ad hooks and pacing rubrics
Evaluate short-form transcripts and on-screen caption plans against ordered hook strength and clarity levels.
Gate localization and dubbing briefs
Verify that translated scripts preserve required product terms, disclosures, and compliance disclaimers before voice synthesis.
Prompt guide & pro tips
Assemble the state payload
Place video scripts, campaign transcripts, and creator production briefs in state as plain text, a JSON object, or an array containing every fact HeyGen Decision 1 needs.
Author typed questions
Add 1–64 named entries under questions for HeyGen Decision 1, choosing noul, choice, or score with explicit instructions and criteria.
Invoke HeyGen Decision 1
Send POST /api/v1/jobs/createTask?wait=30 with model set to heygen/decision-1/decision and read output.decision, or poll recordInfo for completion.
Validate and route outputs
Benchmark HeyGen Decision 1 probabilities on labelled samples of video scripts, campaign transcripts, and creator production briefs, route uncertain answers to review, and log inputTokens.
HeyGen Decision 1 API for typed decisions
HeyGen Decision 1 is HeyGen’s specialized decision model for evaluating video scripts, campaign transcripts, avatar production briefs, and creator workflow requests. Submit video scripts, campaign transcripts, and creator production briefs in state with up to 64 named questions to receive noul probabilities, choice labels, and score rubrics.
Call HeyGen Decision 1
Send POST /api/v1/jobs/createTask?wait=30 with model set to heygen/decision-1/decision.
{
"model": "heygen/decision-1/decision",
"input": {
"state": {
"clip_seconds": 30,
"script": "Tired of manual subtitles? Try our one-click studio workflow and claim 20 percent off this week."
},
"questions": {
"has_clear_cta": {
"type": "noul",
"instructions": "Does the spoken script close with a clear call to action?"
},
"hook_quality": {
"type": "score",
"instructions": "Score opening hook clarity",
"criteria": [
"Weak",
"Moderate",
"Strong"
]
}
}
}
}
Inspect HeyGen Decision 1 output
Completed HeyGen Decision 1 tasks populate output.decision.answers and output.decision.inputTokens (or poll recordInfo).
{
"output": {
"decision": {
"answers": {
"has_clear_cta": {
"type": "noul",
"noul": 0.98
},
"hook_quality": {
"type": "score",
"score": 1.84,
"confidence": 0.86
}
},
"inputTokens": 678
}
}
}
Input schema for HeyGen Decision 1
state: String, JSON object, or array carrying video scripts, campaign transcripts, and creator production briefs for HeyGen Decision 1.questions: 1–64 keyed entries that HeyGen Decision 1 evaluates independently in parallel.type: Picknoul,choice, orscoredepending on the typed value your HeyGen Decision 1 caller expects.instructionsandcriteria: Clear wording plus optionaltrue/false, 1–255 options, or 2–10 ordered levels for HeyGen Decision 1.
Billing and limits
HeyGen Decision 1 bills strictly on measured inputTokens (our 3-question probe took 2.48 s and 678 input tokens); output tokens are free. Stay within 64 questions and 64k text or JSON tokens, and route uncertain HeyGen Decision 1 results to review.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "heygen/decision-1/decision",
"input": {
"state": "example",
"questions": {
"example": {
"type": "noul",
"instructions": "The customer asks for a refund after being billed twice."
}
}
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.


