Write a script, hooks or a translation
ugcfans_write_scriptWrites an ad script from a product or a web page, or, given a saved script, writes alternative opening hooks for it or translates it, and returns a job whose result holds the script. Spends a few of the account's credits. Give product or page_url to write a new script; give script with hooks (how many) or with translate_to (a language) to work on one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | The angle or hook to take. | |
| brand | No | The id of a saved brand whose voice to follow. | |
| hooks | No | With script: how many alternative openings to write. | |
| offer | No | The offer or call to action. | |
| points | No | Points the script should make. | |
| script | No | The id of a saved script to work on, from an earlier ugcfans_write_script. | |
| product | No | What is being sold, in a sentence or two. | |
| seconds | No | How long the ad runs, 5 to 120 (default 30). | |
| audience | No | Who the ad is for. | |
| language | No | The language to write in (default English). | |
| page_url | No | A web page to read the product from, instead of product. | |
| translate_to | No | With script: the language to translate it into. |