AgentMark supports generating images using image prompts. Image prompts are defined by specifying image_config in the image prompt’s frontmatter.

Example Configuration

example.prompt.mdx
---
name: image
image_config:
  model_name: dall-e-3
  num_images: 1
  size: 1024x1024
  aspect_ratio: 1:1
  seed: 12345
---

<ImagePrompt>
A futuristic cityscape at sunset with flying cars and neon lights
</ImagePrompt>

Tags

TagDescription
<ImagePrompt>Image prompt

Available Configuration

PropertyTypeDescriptionOptional/Required
model_namestringThe name of the model to use for image generation.Required
promptstringThe text description for image generation.Required
num_imagesnumberNumber of images to generate.Optional
sizestringImage dimensions in format WIDTHxHEIGHT (e.g., 1024x1024, 512x512).Optional
aspect_ratiostringAspect ratio in format WIDTH:HEIGHT (e.g., 1:1, 16:9, 9:16).Optional
seednumberSeed value for random number generation, ensuring reproducibility.Optional

Have Questions?

We’re here to help! Choose the best way to reach us: