Openai search preview

From awesome-genmedia/skills · View interactive version

Openai search preview is an AI agent skill from the GitHub repository awesome-genmedia/skills. OpenAI Search Preview. Search the web and get AI-summarized answers using OpenAI Search. Real-time web search with AI-powered responses. Triggers: openai search, web search ai, search preview, ai search, real-time search, openai web search, search the web

How to use this skill

Skill file

OpenAI Search Preview

Search the web and get AI-summarized answers using OpenAI Search Preview. Provide a query and optionally specify a geographic location for localized results. Returns structured, AI-processed search results.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "openai-search-preview",
    "version": "0.0.1",
    "input": {
      "prompt": "What are the latest developments in AI video generation?",
      "search_context_size": "medium"
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| city | string | - | City for localized search results |

| country_iso_code | string | - | ISO country code for localized results |

| prompt | string | What was a positive news story from today? | Search query |

| region | string | - | Region for localized search results |

| search_context_size | string | - | Amount of search context. Options: low, medium, high |

Examples

Search for tech news:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "openai-search-preview",
    "version": "0.0.1",
    "input": {
      "prompt": "What are the top trending AI tools released this week?",
      "search_context_size": "high"
    }
  }'

Localized search:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "openai-search-preview",
    "version": "0.0.1",
    "input": {
      "prompt": "Best restaurants open tonight",
      "city": "San Francisco",
      "region": "California",
      "country_iso_code": "US",
      "search_context_size": "medium"
    }
  }'

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.