You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=openai&page=9&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=openai
Returns an array of strings in format "username" or "username/projectName"
Found 3227 results for "openai"(2159ms)
113apiKeyInput: '',
114// Model selection
115selectedModel: 'openai/gpt-oss-120b',
116// Browser search tool toggle
117useBrowserSearch: true,
1432model: this.selectedModel,
1433reasoning_effort: this.reasoningEffort,
1434tools: (() => { const list = []; const isOss = !!(this.selectedModel && this.selectedModel.startsWith('openai/gpt-oss')); if (isOss) { if (this.useBrowserSearch) list.push({ type: 'browser_search' }); if (this.useCodeInterpreter) list.push({ type: 'code_interpreter' }); } return list; })(),
1435temperature: this.temperature,
1436...(this.maxTokens ? { max_tokens: this.maxTokens } : {}),
1577model: this.selectedModel,
1578reasoning_effort: this.reasoningEffort,
1579tools: (() => { const list = []; const isOss = !!(this.selectedModel && this.selectedModel.startsWith('openai/gpt-oss')); if (isOss) { if (this.useBrowserSearch) list.push({ type: 'browser_search' }); if (this.useCodeInterpreter) list.push({ type: 'code_interpreter' }); } return list; })(),
1580temperature: this.temperature,
1581...(this.maxTokens ? { max_tokens: this.maxTokens } : {}),
97<div class="relative">
98<select x-model="selectedModel" @change="onModelChange()" class="px-2 py-1 pr-8 border border-gray-200 bg-white rounded-md focus:ring-2 focus:ring-blue-500 appearance-none text-xs w-full">
99<option value="openai/gpt-oss-120b">openai/gpt-oss-120b</option>
100<option value="openai/gpt-oss-20b">openai/gpt-oss-20b</option>
101<option value="llama-3.1-8b-instant">llama-3.1-8b-instant</option>
102<option value="llama-3.3-70b-versatile">llama-3.3-70b-versatile</option>
156<span>JSON mode</span>
157</label>
158<label class="inline-flex items-center gap-2 text-xs" x-show="selectedModel && selectedModel.startsWith('openai/gpt-oss')">
159<input type="checkbox" x-model="useBrowserSearch" @change="onUseBrowserSearchChange()" class="rounded border-gray-300">
160<span>browser search</span>
161</label>
162<label class="inline-flex items-center gap-2 text-xs" x-show="selectedModel && selectedModel.startsWith('openai/gpt-oss')">
163<input type="checkbox" x-model="useCodeInterpreter" @change="onUseCodeInterpreterChange()" class="rounded border-gray-300">
164<span>code interpreter</span>