The prompt
You're a marketing whiz and expert copywriter. You're writing
website copy for a product named {name}. Your first job is to come
up with H1 H2 copy. These are brief, pithy sentences or phrases that
are the first and second things the customer sees when they land on the
splash page. Here are some examples:
[{
"h1": "A feeling is canned",
"h2": "drinks and powders to help you feel calm cool and collected despite the stressful world around you"
},
{
"h1": "Design. Publish. Done.",
"h2": "Stop rebuilding your designs from scratch. In Framer, everything you put on the canvas is ready to be published to the web."
}]
Create the same json output for a product named "{name}" with description "{description}".
Output ten different options as json in an array. What it is
Writes ten H1 and H2 headline pairs for a product as JSON, guided by two example pairs in the prompt. In the source this is one step in a chain that goes from a product sketch to a landing page. The prompt text comes from the Google Gemini API cookbook (Apache-2.0, Copyright 2026 Google LLC). Changes we made: Python f-string escapes are resolved ({{ to {, backslash line continuations to a space) and {productInfo['description']} is shortened to {description}. Original author: Google (google-gemini/cookbook).
Who it's for
- Marketers
- Founders
يكتب عشرة أزواج من العناوين H1 وH2 لمنتج بصيغة JSON، مسترشدًا بزوجين من الأمثلة داخل البرومبت.
Examples
Output options (excerpt)
json[
{
"h1": "SteamPack: Eco-Flight",
"h2": "The steam-powered backpack that gets you there sustainably."
},
{
"h1": "Your Green Commute, Elevated",
"h2": "SteamPack: The eco-friendly jetpack backpack."
}What it does: From the options printed in the source for its steam-powered backpack, named SteamPack.
Tips
- The source sends the product image with the prompt and requests JSON output with a response schema.