# XBeast Presets

> Presets hold the generator settings behind automated posts: text source, tweet format, images, prompt and style.

Source: https://xbeast.io/docs/presets

A preset is a reusable generator configuration. A schedule slot points at a preset, and XBeast runs it for every enabled day; the preset editor can also run a one-off test generation. Presets do not post anything by themselves.

> **Presets are free to create**
>
> Creating or editing a preset costs nothing. Credits are charged when you run a test generation or when a schedule slot generates a post.

## Preset types

`preset_type` is either `xbeast` (the built-in generator) or `api` (an external endpoint). An API preset sends the generation to the URL stored in `api_preset_data.endpoint` and costs 0 credits, because the endpoint is yours.

## Text types

| Value | What it does |
| --- | --- |
| ai | Generates from an instruction prompt. Optionally draws a random topic from a topic prompt first. |
| search | Researches the web with the prompt and writes the post from the findings. |
| youtube | Turns a YouTube video — found by search or taken from a channel — into a post. |
| x | Rewrites a post from a specific X handle. Costs one extra analysis credit. |
| x-news | Picks a story from an X News search and writes the post from it. Costs one extra credit. |
| list | Rotates the prepared tweets in the preset list. Can rewrite each entry or post it unchanged. |

For `ai`, the prompt is `llm_prompt`. With `randomize_topic` enabled, XBeast first draws a topic from `llm_topic_prompt`. For `search`, the same prompt is used for web research.

For `youtube`, `youtube_source` is `youtube-search` or `youtube-channel`. A search uses `youtube_search_term` and `youtube_search_recency` (any, year, month or week); a channel uses `youtube_channel_name`. The `youtube_video_source`, `youtube_video_account` and `youtube_video_search` fields belong to the YouTube image option, not the text type.

For `x`, set `x_rewrite_handle` to the handle whose top posts should be rewritten. For `x-news`, set `x_news_search_query`. For `list`, the `list_tweets` array holds the prepared posts; enable `list_enable_rewrite` to rewrite each one with the prompt instead of posting it unchanged.

## Tweet formats

| Value | Output |
| --- | --- |
| tweet | One short post. |
| thread | A thread of several posts. |
| long | One long post. Requires an X Premium account. |
| article | An X Article with a title, body and a mandatory AI-generated cover. |
| same | Keeps the format of the original tweet. Available for x and list presets. |

Articles are only generated for X accounts with X Premium, and an article preset needs a cover prompt or the use-article-context option. Articles cannot use the YouTube or TikTok image options.

## Image and video options

| Value | What it does |
| --- | --- |
| recommend | Searches stock media from the post text. recommend_media_type selects images, videos or mixed. |
| list | Uses the media URLs in image_urls. |
| search | Searches image_search_source (Unsplash, Pixabay or Yandex) for image_search_terms. |
| youtube | Attaches a YouTube video chosen with youtube_video_source: search or account. |
| tiktok | Attaches a TikTok video from tiktok_video_source: search, account or explore. |
| ai | Generates an AI image from image_prompt or from the post via ai_image_use_tweet_context. |
| ai-auto | Always generates the AI image from the post context. |
| off | No media. |
| none | No media. Same effect as off. |

An `ai` preset needs either `image_prompt` or `ai_image_use_tweet_context: true`. The model is `ai_image_model`, the aspect ratio is `ai_image_aspect_ratio` and an optional reference image can be supplied in `ai_reference_image_url`.

For `search`, `image_search_source` is `unsplash`, `pixabay` or `yandex`, and `image_search_terms` holds the terms to search. `image_prompt` gives the model extra context for choosing media.

## Account context and styles

With `llm_x_account` enabled, generation adds the account's profile and `account_prompt` so the post matches its voice and topics. The account also supplies the timezone that schedule slots run in.

`style_id` points at a writing style. A style is a set of up to 9 example tweets that the generator imitates. Styles can be managed through the [Styles API](https://xbeast.io/docs/api-styles.md) while the app's style picker lives in the preset editor.

## What a preset costs

The credit cost is calculated from the preset fields. Text, analysis, research, video search and media add up:

| Part of the preset | Credits |
| --- | --- |
| Text — tweet format | 1 |
| Text — thread, long or same | 2 |
| Text — article | 3 |
| x or x-news analysis | +1 |
| search web research | +2 |
| youtube or tiktok video search | +1 |
| AI image | 1 + AI image model credits |
| recommended stock media | 1 (2 for mixed) |
| Article cover image | 1 + AI image model credits |
| preset_type "api" (your own endpoint) | 0 |

Image costs use the AI image model credits: 1 for MAI Image 2.7 Flash and Muse Image, 2 for Grok Imagine, 4 for Nano Banana 2 Lite, 5 for GPT Image 2 and 6 for Nano Banana 2. An article also adds in-body media: up to 4 AI images at 1 + model credits each, or 1 credit for a recommended or stock image.

## Test a preset and schedule it

- A test generation from the preset editor costs the same credits as a real run and saves the result to your generation history. It does not schedule or publish anything.
- Adding a preset to a schedule slot costs nothing at that moment. Credits are charged when the slot generates and when the post publishes.
- Presets are capped by your plan's `maxPresets` value, which is 1,000 on every plan.

## Related

- [Schedule a preset](https://xbeast.io/docs/scheduling.md)
- [Plan limits and credit costs](https://xbeast.io/docs/credits-and-plans.md)
- [Presets API reference](https://xbeast.io/docs/api-presets.md)
- [Styles API reference](https://xbeast.io/docs/api-styles.md)

[Open Presets](https://xbeast.io/presets)

[Go to Schedule](https://xbeast.io/schedule)
