Paste text, optionally choose a model and customize the instruction. Clicking a button triggers JavaScript to set a hidden field (html
or text
) before submitting the form via POST.
The server-side PHP script reads the input, selected model (or default), custom instruction (or default), and hidden action field. It contacts the OpenRouter API and then either displays the formatted summary here or outputs raw text based on your choice.
Send a POST request to:
http://experimentaldata.co.uk/ai_summarizer/index.php
Include the following form data fields:
summarize_input
: (Required) The URL-encoded text to summarize.submit_action
: (Required) Must be set to the literal value text
.selected_model
: (Optional) The desired model name (e.g., google/gemma-2-9b-it:free
). Must be one of the available models listed below. If omitted or invalid, the default model configured on the server will be used.custom_instruction
: (Optional) URL-encoded custom instruction text. If omitted, the default instruction configured on the server will be used. Send an empty value (e.g., custom_instruction=
) if you want no specific instruction beyond the basic summarization context.The server will respond with the plain text summary (Content-Type: text/plain
).
Example using cURL:
curl -X POST \
--data-urlencode "summarize_input=Your very long text goes here..." \
--data "submit_action=text" \
--data-urlencode "selected_model=google/gemma-2-9b-it:free" \
--data-urlencode "custom_instruction=Summarize this in exactly 10 words." \
"http://experimentaldata.co.uk/ai_summarizer/index.php"
Adjust text, model, instruction, and URL as needed.
You can select from the dropdown. The current default model is: deepseek/deepseek-chat:free.
Available models hardcoded in this script:
The default instruction applied if the 'Custom Instruction' box is empty is:
Rewrite the following paper into a short, friendly, and engaging transcript (30–90 seconds; 250 to 500 words maximum) suitable for a social media reel. Strictly follow these rules: use simple words, do not add any new information, keep it absolutely based on the given text, write only the main transcript in plain text, no tags, no hashtags, no URLs, no symbols or emojis, everything in one single paragraph with no line breaks or bullet points, start the transcript with » and end with «.
Strict Disclaimer: This tool is provided entirely 'as-is' without any warranties or guarantees of any kind, express or implied. The AI-generated summaries may contain inaccuracies, errors, or omissions, and may not reflect the true meaning or nuance of the original text. No promises are made regarding accuracy, completeness, reliability, suitability, or availability. You use this tool and rely on its output entirely and solely at your own risk (100%). The developers and providers of this tool accept absolutely no liability for any loss or damage arising from its use. This tool also relies on third-party services (OpenRouter), which have their own terms and potential points of failure.