Note: Only documented parameters are guaranteed to keep working. Undocumented parameters may change without notice.
Conversation URLs
Base URL/conversation/new
/conversation-> redirects to/conversation/new/ask-> redirects to/conversation/new
Parameters
ask- Prefills the prompt and auto-submits it when the page loads.- Use
encodeURIComponent()for the value. - This is the closest equivalent to a
?q=style parameter.
- Use
model- Selects a model by model id.- If the model is a known image/video/audio model, the mode is switched automatically.
mode- Sets the UI mode (only ifmodeldoes not override it).- Allowed values:
chat,image,video,audio,voice.
- Allowed values:
online- Enables web search when set totrue.- Any other value is ignored.
source- Attribution/referral tag.source=translatealso disables web search for that session.
transcriptId- Internal handoff key used by/youtubeand/scrapeto inject large prompts.- Requires a pre-stored value in session storage or the shared content cache; not intended for manual use.
Examples
Notes
modeltakes precedence overmode(a model selection can switch the mode).- There is no separate
qparameter today - useaskinstead. - Web search provider and depth are not configurable via URL; they follow your Settings.
Media URLs
Base URL/media
/media/image-> redirects to/media?mode=image/media/video-> redirects to/media?mode=video/media/audio-> redirects to/media?mode=audio
Parameters
mode- Selects the media mode.- Allowed values:
image,video,audio.
- Allowed values:
model- Selects a media model by id.- If the model matches a known image/video/audio model,
modeis switched automatically. - When
audioMode=stt,modelmay also be a speech-to-text model id.
- If the model matches a known image/video/audio model,
audioMode- Selects audio sub-mode (only inmode=audio).- Allowed values:
tts,stt.
- Allowed values:
prompt- Prefills the prompt and is consumed on load (removed from the URL).
Examples
Notes
modeltakes precedence overmode(a model selection can switch the mode).- If a model id is unknown or incompatible with the selected mode, it is ignored.
- For speech-to-text, include both
audioMode=sttand a compatiblemodelid.
OpenSearch Integration
An OpenSearch descriptor is available at:ask:
{searchTerms} with the URL-encoded user query.)