image_config in the image prompt’s frontmatter.
Example Configuration
example.prompt.mdx
Tags
| Tag | Description |
|---|---|
<ImagePrompt> | Image prompt |
Available Configuration
| Property | Type | Description | Optional/Required |
|---|---|---|---|
model_name | string | The name of the model to use for image generation. | Required |
prompt | string | The text description for image generation. | Required |
num_images | number | Number of images to generate. | Optional |
size | string | Image dimensions in format WIDTHxHEIGHT (e.g., 1024x1024, 512x512). | Optional |
aspect_ratio | string | Aspect ratio in format WIDTH:HEIGHT (e.g., 1:1, 16:9, 9:16). | Optional |
seed | number | Seed value for random number generation, ensuring reproducibility. | Optional |
Have Questions?
We’re here to help! Choose the best way to reach us:
- Join our Discord community for quick answers and discussions
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions