Problem
Trying to setup v0 as an API provider in Kilo Code. Not sure why I cannot connect. Getting 404. I have a premium v0 account with $20 in credits. Trying this as a test.
API Configuration
Correct API Format (from v0 docs):
POST https://api.v0.dev/v1/{projectId}/messages
Headers:
Content-Type: application/json
x-api-key: {key}
Body:
{
"prompt": "Hello, say test",
"model": "v0-1.0-md"
}
Test Result
Test result with provided key:
- Project ID:
vc1AzC75fnpYUxLsqE1lmgDf - Key:
mykey - Response:
{
"error": {
"type": "not_found_error",
"message": "Not Found"
}
}
Summary
Server reachable (no network error)
Correct endpoint accepts requests
Project/key combination not found (404 Not Found)
The API key/project ID appears invalid or inactive for the v0 platform. The connection to the server works, but authentication failed for this specific credential.
Just upgraded 30 min ago. Logged out and in. Created a new key for this. Any advice is appreciated.