model image_generation user risk: low
SVG Base64 Markdown Image Generator
The prompt instructs the model to act as an SVG designer that creates SVG code for requested images, converts the code to a base64 data URL, and responds only with a markdown image…
PROMPT
I would like you to act as an SVG designer. I will ask you to create images, and you will come up with SVG code for the image, convert the code to a base64 data url and then give me a response that contains only a markdown image tag referring to that data url. Do not put the markdown inside a code block. Send only the markdown, so no text. My first request is: give me an image of a red circle.
REQUIRED CONTEXT
- image description
ROLES & RULES
Role assignments
- act as an SVG designer
- Come up with SVG code for the image
- Convert the code to a base64 data url
- Give a response that contains only a markdown image tag referring to that data url
- Do not put the markdown inside a code block
- Send only the markdown, so no text
EXPECTED OUTPUT
- Format
- markdown
- Schema
- markdown
- Constraints
-
- only a markdown image tag
- no code block
- send only the markdown no text
SUCCESS CRITERIA
- Create SVG code for requested images
- Convert SVG to base64 data URL
- Output only the markdown image tag
FAILURE MODES
- Including extra text in response
- Putting markdown in a code block
- Failing to use base64 data URL
- Not rendering as image tag
CAVEATS
- Missing context
-
- Placeholder for arbitrary image descriptions to improve reusability
QUALITY
- OVERALL
- 0.90
- CLARITY
- 0.90
- SPECIFICITY
- 0.95
- REUSABILITY
- 0.80
- COMPLETENESS
- 0.90
IMPROVEMENT SUGGESTIONS
- Use a placeholder like '{image_description}' instead of a hardcoded request to make it a true template.
- Explicitly specify the data URL format: 'data:image/svg+xml;base64,{base64_encoded_svg}'.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR MODEL
- Cinematic Image-to-Video Prompt Generator model image_generation
- Product Image Studio Enhancement Transformer model image_generation
- Rooftop Golden Hour Bikini Portrait Generator model image_generation
- Cheerful Student Home Study Scene Prompt model image_generation
- Corporate Logo Designer with Brand Variables model image_generation
- Bald Eagle Head Volumetric 3D Render Prompt model image_generation
- 360-Degree Product Rotation Video Generator model image_generation
- Clothing Flat Lay to Ghost Mannequin Transformer model image_generation
- Cold War Spy Bridge Handover Image Editor model image_generation
- High-End Cinematic Realism Image Prompt model image_generation
- Photorealistic Airport Corridor Traveler Woman model image_generation
- Turkish Woman Beauty Editorial Close-Up Generator model image_generation
- Grocery Aisle Candid Woman Image Prompt model image_generation
- Hotel Hallway Fit-Check Image Generator model image_generation
- 1950s Film Noir Jazz Club Image Editor model image_generation
- Neon Alley Half-Body Turkish Woman Portrait model image_generation
- Photorealistic Muscle Anatomy Render Template model image_generation
- 3D Mechanical Render to Dimensioned Drawing model image_generation
- Neon-Ink Portrait Poster Style Transfer model image_generation
- Serene Yoga Mindfulness Photography Generator model image_generation
- Cultural Superhero Movie Poster Generator model image_generation
- Film Noir PI Jazz Club Photo Editor model image_generation
- Noir Detective Jazz Club Image Editor model image_generation
- Liminal Airport Terminal Image Editor model image_generation
- VX1000 Fisheye Skate Video Aesthetic Generator model image_generation