Perplexity pplx-embed-v2 embedding models require input_type, or return 400 (November 2026)
Two new embedding models handle text and images. Every request must set input_type to query or document, or it returns HTTP 400.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. Your keys stay in this tab. They are never sent to Wirestack or saved; we only count that the panel was used.
- Perplexity API keyPERPLEXITY_API_KEYGet key
Open the API Keys page in the Perplexity API console and generate a key. Add credits in Billing first.
Affected by this? Start from a checked Perplexity API integration
Code with pinned versions, checked against the official docs on a schedule.
