Run an OpenAI-compatible chat completion via x402

OpenAI-compatible chat completions. One $0.005 payment mints a 1-hour key (20k tokens).

post/swish/v1/chat/completions

Request

  • Base URL: https://api.gadgethumans.com
  • URL: https://api.gadgethumans.com/swish/v1/chat/completions
  • Auth: none declared

Request body

messagesobject[] required

OpenAI-style chat messages in order: [{role: 'system'|'user'|'assistant', content: string}].

modelstring

Model id; the hub serves its configured default when omitted.

Response

Completion

object required

Changes

No recorded changes to this operation across all 1 revision of this API.