{"uid":"cap_BBQeV6Eu5jSqgIMXKv4Z_","slug":"hubvibe-llm-raw-completion-329b79e5","name":"HubVibe LLM Raw Completion","description":"LLM text generation / chat completion: a raw completion from your prompt with optional system message, max_tokens and temperature; Gemini by default, other configured models by provider and model. Use it for drafting, rewriting, translation, classification or any prompt, paid per call with no API key or account. Input: prompt. Answer grounded in your own text: llm.analyze.","url":"https://hubvibe-io.com/work/llm/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"prompt":{"type":"string"},"system":{"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$","maxLength":35},"provider":{"type":"string"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}},"responseSchema":{"type":"json","example":{"result":{"text":"Here is a short poem about bees...","model":"gemini-2.5-flash","usage":{"input_tokens":14,"output_tokens":96},"provider":"gemini","finish_reason":"STOP"},"status":"ok","worker":"llm.generate","price_usd":0.25,"provenance":{"steps":[{"ms":640,"ok":true,"step":"generate","provider":"completion"}],"attempts":1,"elapsed_ms":660,"providers_used":["completion"]},"receipt_id":"rcpt_9f1c2b3a4d5e6f70","receipt_url":"/work/receipts/rcpt_9f1c2b3a4d5e6f70"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v1oX3wQpGvj5K2snpmh69","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a prompt (and optional system message) to a configurable LLM provider and model, receiving an unconstrained raw text completion.","exampleAgentPrompt":"Using the Gemini provider, generate a 3-paragraph explanation of how neural networks learn, with a system message that says 'You are a friendly science teacher' and a temperature of 0.5.","exampleUseCases":[{"title":"Custom chatbot response generation","prompt":"I need you to generate a customer support reply using Claude — use the system message 'You are a polite customer support agent for a SaaS company' and the prompt 'A user is asking how to reset their password. Write a helpful response.' Keep max_tokens at 512."},{"title":"Creative writing with controlled randomness","prompt":"Generate a short sci-fi story opening paragraph using Gemini with temperature set to 1.4 so it's more creative. The prompt is: 'A lone astronaut discovers a signal from a dead star that shouldn't exist.'"},{"title":"Structured data extraction via free-form prompt","prompt":"Run this prompt through Claude with temperature 0.1 for consistency: 'Extract the company name, founding year, and CEO from this text: Acme Corp was founded in 1998 by Jane Doe, who continues to serve as CEO.' No system message needed, max 256 tokens."}],"resultDescription":"A raw text string as generated by the selected LLM provider and model, with no enforced structure or schema — the exact completion the model produces for the given prompt and parameters.","failureModes":["Invalid provider name returns an error (only 'gemini' and 'anthropic' are supported)","Requested model not available if Vertex AI Model Garden access not yet enabled for Anthropic","max_tokens out of range (must be 1–4096) returns a validation error","Temperature out of range (must be 0–2) returns a validation error","Prompt too long for model context window causes truncation or error","Payment failure via x402 protocol blocks the request","Provider or model quota/rate-limit reached causing temporary unavailability"],"whenToPreferThis":"Choose this endpoint when you need a completely unconstrained LLM completion — no prescribed output format, schema, or analysis pipeline. It is ideal when you want full control over system message, provider selection (Gemini vs Claude), model variant, temperature, and token budget. Prefer this over llm.analyze when you do not want any opinionated wrapping around the model's response and want the raw model output directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T13:36:50.270Z","isFirstParty":false,"canonicalSlug":"hubvibe-llm-raw-completion-329b79e5"}