📊 We use cookies & analytics to improve your experience. Learn more
Latest

Module 3 · Files, tools and your own data Lesson 10 of 15

Reusing a brief and building a small library and your first script

Learning objective

Generation runs through the platform's own app and, on paid tiers, an API; the practice that matters is a saved library of briefs and a consistent naming scheme. You do not need this to finish the course, and you do not need it for a fresher job either — but an afternoon here is what turns "I have used Suno" into "I have built with it", which is a different sentence in an interview.

The concept

Generation runs through the platform's own app and, on paid tiers, an API; the practice that matters is a saved library of briefs and a consistent naming scheme. The idea is simple: the same model you have been chatting with also answers a web request, so you can put it inside a script, a spreadsheet or a page. A key identifies you; a request sends the text; a response comes back as data.

The reason to try it once, even if you never build anything: it makes the chat version less mysterious. You see that the whole conversation is text in and text out, that your instructions are literally lines of a request, and that "the model" is one parameter among several.

A first call looks like this:

Terminal
# Name the library by the JOB the track does, not by the prompt.
#
#   assets/music/bed-narration-85bpm.mp3
#   assets/music/bed-narration-85bpm.txt   <- the style line that made it
#   assets/music/jingle-event-120bpm.mp3
#   assets/music/jingle-event-120bpm.txt
#
# The .txt beside each file is the whole trick. In three months you will
# want "the same as the last video" and the prompt box will be empty;
# the style line saved next to the file is what gets it back.
#
# And check the licence for YOUR plan before a track goes on a monetised
# channel or into client work. That is a five-minute check, once.

Common mistakes

The mistake is keeping only the audio and not the brief. Generating a matching track for the next video then costs the whole afternoon again.

Worked example

A small folder of five beds and five jingles, each named by job and tempo, means the next video is a ten-minute job rather than an afternoon.

Your practice task

Get a key, run one request that works, and change one word in it to see the answer change. That is the whole of the first afternoon.

Do this before moving on. Reading a solution teaches the shape of it; typing it teaches you.

Key takeaway

Generation runs through the platform's own app and, on paid tiers, an API; the practice that matters is a saved library of briefs and a consistent naming scheme.

Create free account or sign in

Almost there

15 lessons left of 15

Finish every lesson to unlock the certificate. Each one ends in a practice task — do them and the final project brief writes itself.