By Industry & Audience

An Explain This Button That Plays a Finished Lesson

Two Golpo videos for an Explain This button: the missing middle term in (x + 3) squared, and one saved attempt the practice app sends to the API.

Liam Park7 min read
A learner's incomplete algebra model passes through independent review and Golpo production into a complete visual explanation

The short answer: This page is two videos for an Explain This button inside a practice product. The first repairs a learner who wrote (x + 3) squared as x squared plus 9. The second is the same algebra as one saved attempt, A-1847, and shows the practice app sending the approved script to Golpo and storing the job ID.

The amounts and the attempt ID are classroom examples so you can follow one case from the wrong line to the finished file.

1. The missing middle term

The item is expand (x + 3) squared. The learner wrote x² + 9. The identity is x² + 6x + 9, because the cross term is 2 · x · 3. At x = 1, (1 + 3) squared is 16. The learner’s line is 1 + 9 = 10. The corrected line is 1 + 6 + 9 = 16.

The missing middle term · Script Mode · open MP4

What we sent to Golpo

Script Mode speaks the script below word for word. The other fields do different jobs.

Settings

Own Narration: OFF · Script Mode: ON · Duration: 1 minute · Orientation: Horizontal (16:9) · Style: Dry Erase · Color: ON · Language: English · Voice: Female 2 · Pace: Normal · Music: None

Script

This is the narration.

A learner expanded the square and dropped the middle. They wrote x plus three, squared, equals x squared plus nine. The identity is x squared plus six x plus nine. The missing piece is the cross term, two times x times three, which is six x. Check both lines at x equals one. The left side is one plus three, squared, which is sixteen. The learner's line is one squared plus nine, which is ten. The corrected line is one plus six plus nine, which is sixteen. Ten is not sixteen, so the short expansion fails. Sixteen matches the original square. Put the cross term back in the middle. x squared, then six x, then nine. The dropped term was the middle one. This is the lesson the learner sees once the script has been approved. Circle six x, because that is the term the short line lost.

Video Instructions

Video Instructions tell Golpo what to draw. They are not spoken.

A learner's line drops the middle term. Restore six x between x squared and nine. At x equals one, the square is sixteen, the short line is ten, and the corrected line is sixteen. End with six x circled. On-screen labels: (x + 3)^2 = x^2 + 9; x^2 + 6x + 9; 2 * x * 3 = 6x; x = 1; Left side 16; Learner line 10; Corrected line 16.

Voice Instructions

Voice Instructions set how the narrator sounds. They are separate from the script.

Algebra teacher. Slow on the cross term and on the check at x equals one.

2. Attempt A-1847

The practice app stores the item, the line the learner wrote, and the answer. It writes a short script, checks the script at x = 1, and sends the approved script to Golpo API v2. It saves the job ID that comes back, then polls that same job. If the picture shows x squared plus 9, the file stays with the instructor. The learner does not get a second job created in the background.

Attempt A-1847 · Script Mode · open MP4

What we sent to Golpo

Settings

Own Narration: OFF · Script Mode: ON · Duration: 1 minute · Orientation: Horizontal (16:9) · Style: Professional Clean · Color: ON · Language: English · Voice: Male 1 · Pace: Normal · Music: None

Script

Attempt A-1847 is one wrong submission in Algebra Practice Studio. The learner again wrote x squared plus nine for the square of x plus three. The studio's creator agent drafts a lesson from the item, the learner's step, and the answer key. The studio's QA agent recomputes. At x equals one, the learner's line is ten and the square is sixteen, so x squared plus nine is rejected. The app then sends the approved script to Golpo API version two and stores the job ID that comes back. It polls that same job. After the render, the studio checks the picture and the audio. A drawn exponent that disagrees with the script goes to the instructor. The app does not start a second job on its own. The learner never sees an unchecked video. These reviewers are ours. Golpo rendered the script we approved. The check reduced the chance of a wrong lesson. It did not certify it.

Video Instructions

Algebra Practice Studio. A creator agent drafts. A studio QA agent rejects the short expansion because the check at one fails. The app sends the approved script to Golpo and stores the job ID. A bad exponent goes to an instructor. End on the line that these reviewers belong to the studio. On-screen labels: Attempt A-1847; Algebra Practice Studio; Creator agent drafts; QA agent recomputes; x = 1; Learner 10; Square 16; Golpo API v2; Job ID stored; Instructor if the exponent disagrees.

Voice Instructions

Plain product explanation from the studio's side. No hype about automation.

What the app keeps, and what Golpo receives

Golpo receives the approved script, the style, the voice, the Video Instructions, and the Voice Instructions. The practice app keeps the learner’s original line, the answer, the check at x = 1, and the job ID.

If the check at x = 1 disagrees with the draft, do not call generate. If generate returns an error, keep the attempt and ask the instructor. If the worker crashes after a successful generate, poll the job ID you already stored.

How the API call and the polling loop are shaped is in the Golpo API v2 pipeline guide.

Make the next lesson the same way

Write the words you want spoken, add the numbers again, and send that script in Script Mode. These two files use a built-in voice and the settings shown above. A later lesson can put the instructor on screen with AI Presenter, use a recording with Own Narration, keep a saved voice with an authorized voice clone, or fix one frame in the frame editor. To generate the file from code, follow the Golpo API v2 pipeline.

FAQ

Can these lessons be generated and published automatically?

Yes. The practice app can send the approved script to Golpo and poll the job. The learner sees the video after the check passes.

Who drafts the Explain This script?

The practice app, or a person on the course team. Golpo speaks the script it receives.

What does the app send to Golpo API v2?

The approved script and the video settings. It does not need to send the learner’s private notes for Golpo to render that script.

Why store the job ID before polling?

If the worker stops after Golpo has accepted the job, you poll the ID you saved. You do not submit the same lesson again.

Is there an idempotency key in the public v2 docs?

Check the current v2 docs before you rely on one. This page’s pattern is to store the job ID Golpo returns and poll that ID.

What happens when the drawing shows x squared plus 9?

Hold the file. The learner still sees no video. The instructor decides whether a corrected script may start a new attempt.

Why does x = 1 matter?

It is a check. (1 + 3) squared is 16. x squared plus 9 is 10. x squared plus 6x plus 9 is 16. The short expansion fails the check.

Can the learner open the video while the job is polling?

No. The player waits until the file passes the check.

Which guide covers generic polling and retries?

The Golpo API v2 pipeline guide, linked below.

Tags

#Explain This button#Golpo API v2#learning app video API#approved script to video