{"inline_daily":{"prompt-optimizer-tool":{"input_cost_label":"Input cost","default_role":"Expert React & Tailwind CSS developer","default_context":"Building a carbon footprint calculator component","default_task":"Generate the working React component with interactive state and responsive handling.","default_constraints":"No unnecessary external dependencies, strict TypeScript typing, dark mode support.","default_output_format":"Complete TypeScript code in a markdown block with concise explanations.","prompt_template":"### ROLE & EXPERTISE\nYou are a {{role}}.\n\n### PROJECT CONTEXT\n{{context}}\n\n### MAIN TASK\n{{task}}\n\n### STRICT CONSTRAINTS\n{{constraints}}\n\n### EXPECTED OUTPUT FORMAT\n{{outputFormat}}","label_role":"1. Role / persona given to the AI","label_context":"2. Context","label_task":"3. Main instruction (task)","label_constraints":"4. Strict constraints & guardrails","label_output_format":"5. Desired output format","label_target_model":"Target model for the estimate","structured_prompt_ready":"Structured prompt ready","copy_prompt":"Copy prompt","tokens_est":"Tokens (est.)","mots":"Words","golden_rule_title":"Golden rule of prompt engineering","mode_text":"Text prompt","mode_image":"Image prompt","image_label_subject":"Image subject","image_label_style":"Style","image_label_lighting":"Lighting","image_label_framing":"Framing and lens","image_label_mood":"Mood","image_label_ratio":"Aspect ratio","image_label_exclude":"Elements to exclude","image_exclude_hint":"Separate them with commas. They make up the prompt's \"Avoid:\" line; if your generator has a negative prompt field, paste this list there instead.","image_english_hint":"The prompt is assembled in English from your choices; the subject and exclusions are inserted as typed.","image_prompt_ready":"Image prompt (English)","image_english_title":"A prompt written in English","image_english_desc":"The prompt is written in English: most image generators follow it more faithfully in that language. The tool puts the subject first, then style, lighting, framing, mood and aspect ratio, separated by commas. Results depend on the generator: change one setting at a time and try again.","image_opt_none":"No preference","image_style_photo":"Realistic photo","image_style_cinematic":"Film still","image_style_digital":"Digital painting","image_style_watercolor":"Watercolor","image_style_oil":"Oil painting","image_style_anime":"Anime illustration","image_style_render3d":"3D render","image_style_pixel":"Pixel art","image_style_ink":"Ink drawing","image_style_flat":"Flat vector illustration","image_light_golden":"Golden hour","image_light_soft":"Soft diffused light","image_light_studio":"Studio lighting","image_light_dramatic":"Dramatic chiaroscuro","image_light_neon":"Neon lights","image_light_backlit":"Backlight","image_light_moon":"Moonlight","image_light_overcast":"Overcast daylight","image_frame_closeup":"Close-up (85mm)","image_frame_medium":"Medium shot (50mm)","image_frame_wide":"Wide shot (24mm)","image_frame_aerial":"Aerial view","image_frame_macro":"Macro (100mm)","image_frame_low":"Low angle","image_frame_top":"Top-down view","image_mood_calm":"Calm, peaceful","image_mood_mysterious":"Mysterious, foggy","image_mood_joyful":"Joyful, vibrant","image_mood_melancholic":"Melancholic","image_mood_epic":"Epic, grand","image_mood_cozy":"Cozy, warm","image_ratio_1_1":"1:1 square","image_ratio_16_9":"16:9 landscape (screen)","image_ratio_9_16":"9:16 vertical (stories, Reels)","image_ratio_4_3":"4:3 standard photo","image_ratio_3_2":"3:2 DSLR photo","image_ratio_2_3":"2:3 poster (portrait)"}},"docs_daily":{"tools":{"prompt_opt":{"content":{"title":"AI prompt generator: a 5-block structured prompt and an English image prompt","intro":"This AI prompt generator has two modes. In text mode, it assembles your prompt into five sections (role, context, task, constraints, output format), then estimates the token count at one token per 4 characters; the displayed cost multiplies those tokens by a fixed input price per model, for example $2.50 per million tokens for GPT-4o. In image mode, it writes an English prompt from the subject, style, lighting, framing, mood, aspect ratio and elements to exclude.","details":"
The five fields are placed into a template with headings (role and expertise, project context, main task, strict constraints, expected output format). The result is ready to copy. Everything runs in your browser: nothing is sent to an AI service.
Prices coded in the tool, per million input tokens: Gemini Flash $0.10, Gemini 1.5 Pro $1.25, GPT-4o $2.50, Claude 3.5 Sonnet $3.00.
A 1,200-character prompt gives 1,200 ÷ 4 = 300 tokens. Input cost: $0.00003 with Gemini Flash, $0.00038 with Gemini 1.5 Pro, $0.00075 with GPT-4o and $0.00090 with Claude 3.5 Sonnet.
The subject comes first, followed by the chosen style, lighting, framing and mood, then the aspect ratio (16:9 aspect ratio), all separated by commas. Elements to exclude form a second line starting with Avoid:. A menu left on \"No preference\" adds nothing. The styles offered are techniques (watercolor, 3D render, pixel art…), never artist names. As in text mode, everything runs in your browser.
With the starting settings, the tool produces:
A red fox sitting in a snowy forest, photorealistic photograph, golden hour sunlight, close-up shot, 85mm lens, calm, peaceful atmosphere, 16:9 aspect ratio.
Avoid: text, watermark, blurry.
Avoid: line there and remove that line from the prompt.Sources and dates: as of 14/10/2026, OpenAI's official price list still shows $2.50 per million input tokens for GPT-4o. Gemini 1.5 and Claude 3.5 Sonnet no longer appear on the Gemini API price list or on Anthropic's price list: the tool's prices for those models are historical and only give an order of magnitude (checked on 14/10/2026).
"}},"prompt-optimizer":{"faqs":[{"question":"How many tokens are in a 1,000-character prompt?","answer":"The tool uses one token per 4 characters, so 250 tokens for 1,000 characters. This approximation is calibrated on English; real tokenizers often produce a few more tokens for other languages."},{"question":"What are the 5 parts of a good prompt?","answer":"The tool uses five: the role given to the AI, the project context, the main task, the constraints to respect and the expected output format. Separating them with headings keeps an instruction from getting lost in a continuous paragraph."},{"question":"Does the displayed cost include the AI's answer?","answer":"No. The tool only prices input tokens, with a fixed rate per model ($2.50 per million for GPT-4o). Output tokens are billed separately and usually cost several times more."},{"question":"Is my prompt sent to ChatGPT or Gemini?","answer":"No. The prompt is assembled and counted in your browser. You then paste it yourself into the AI tool of your choice."},{"question":"How do I write a prompt to generate an image?","answer":"Describe the subject first (who or what, where, doing what), then add the style, lighting, framing, mood and aspect ratio. The tool's image mode assembles them in that order, separated by commas, and adds an Avoid: line for the elements to exclude."},{"question":"Why is the image prompt in English?","answer":"Most image generators follow a prompt written in English more faithfully. The tool writes the style, lighting and framing fragments in English but does not translate the subject or exclusions, so type them in English."},{"question":"What do I do with the Avoid: line if my generator has a negative prompt field?","answer":"Paste the list after Avoid: into that field and remove the line from the main prompt. Without a dedicated field, leave the line in the prompt."}]}}}}