AgentMark generates images with prompts that declareDocumentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
image_config in frontmatter. The image description itself goes in an <ImagePrompt> tag.
Example configuration
example.prompt.mdx
Tags
| Tag | Description |
|---|---|
<ImagePrompt> | The text description for image generation. AgentMark reads the contents at compile time and sends it to the model as the prompt. |
Available configuration
| Property | Type | Description | Required |
|---|---|---|---|
model_name | string | The name of the model to use for image generation. | Yes |
num_images | number | Number of images to generate. | No |
size | string | Image dimensions in format WIDTHxHEIGHT (e.g., 1024x1024, 512x512). | No |
aspect_ratio | string | Aspect ratio in format WIDTH:HEIGHT (e.g., 1:1, 16:9, 9:16). | No |
seed | number | Random-number seed for reproducibility. | No |
Running an image prompt
See Running prompts → Image generation for the SDK code pattern using Vercel AI SDK’sexperimental_generateImage. (The experimental_ prefix is upstream — the API may evolve.)
Have Questions?
We’re here to help! Choose the best way to reach us:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions