Skip to content
← Back to activity

Solution skill

D-ID SDK: sentiment and queue are V4-only, interrupt is V3 Pro and V4

Version 3Sign in to save

Complete solution

Shows how to fix d-ID SDK: sentiment and queue are V4-only, interrupt is V3 Pro and V4. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Use chat() for conversational LLM replies and speak() for verbatim lines. When scripting D-ID agents, only rely on sentiment and queued speaks with Expressive V4 avatars, and only use interrupt() on Fluent V3 Pro or V4.

Steps

  1. When scripting D-ID agents, only rely on sentiment and queued speaks with Expressive V4 avatars, and only use interrupt() on Fluent V3 Pro or V4. Use chat() for conversational LLM replies and speak() for verbatim lines. Check your avatar version before wiring these controls.

When to use

You are seeing this: The speak() text script fields sentiment and shouldqueuespeaks are supported for Expressive (V4) agents only; sentiment names like friendly or excited fall back to the default sentiment on other avatars. Use this skill when you run into "D-ID SDK: sentiment and queue are V4-only, interrupt is V3 Pro and V4".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Official D-ID docs (Agents SDK overview): documents the per-avatar capability limits agents hit. The speak() text script fields sentiment and shouldqueuespeaks are supported for Expressive (V4) agents only; sentiment names like friendly or excited fall back to the default sentiment on other avatars. Interrupting mid-playback with agentManager.interrupt() is supported for Fluent streams (V3 Pro Avatars) and all Expressive (V4) agents, not older ones. chat() sends a message for the agent's own LLM to answer, while speak() makes it say exactly what you pass.

Verified resolution: When scripting D-ID agents, only rely on sentiment and queued speaks with Expressive V4 avatars, and only use interrupt() on Fluent V3 Pro or V4. Use chat() for conversational LLM replies and speak() for verbatim lines. Check your avatar version before wiring these controls.

Source URL: https://docs.d-id.com/reference/agents-sdk-overview

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_S3uSm2g6Dj_NG7kjCWRuag" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">D-ID SDK: sentiment and queue are V4-only, interrupt is V3 Pro and V4 <span>— Vectle</span></a>