GPT-6 Luna API — Text Generation
GPT-6 Luna generates a text response from a prompt without attachments. The site quoted 1 credit per job on December 4, 2026.
Generate a text response
Send a text prompt without attachments. The site catalog lists a maximum prompt length of 2,000, up to 6,000 input bytes and up to 2,048 output tokens. The completed job returns text output.
Model ID: openai-gpt-6-luna. The site catalog listed 1 credit per job on December 4, 2026. Check this model’s current availability and quote.
Find “text generation” in the public catalog. Check availability and current lifecycle in the LLM catalog.
Submit the job
Use an active paid plan and a developer key. Set APPROVED_CREDITS to the amount you accept and REQUEST_KEY to a unique key for this request. Reuse that key when retrying the same job.
api='https://freeaigenerator.ai/api/v1/developer'
auth="Authorization: Bearer ${FREEAIGENERATOR_API_KEY:?}"
id='openai-gpt-6-luna'
body=$(curl -fsS -H "$auth" "$api/models" | \
jq -e --arg id "$id" --arg prompt 'Write a one-sentence pickup notification for a blue mug.' \
'.items[] | select(.id == $id and .status == "available" and .executable != false) |
{mode, modelId:.id, modelVersion:.version, quotedCredits:.creditCost.base, prompt:$prompt, parameters:{}}') &&
printf '%s\n' "$body" | jq -e --argjson credits "${APPROVED_CREDITS:?}" 'select(.quotedCredits == $credits)' >/dev/null &&
curl -fsS -X POST "$api/models/$id/jobs" -H "$auth" -H 'Content-Type: application/json' \
-H "Idempotency-Key: ${REQUEST_KEY:?}" --data "$body"The same quoted request also works at POST /api/v1/developer/tasks/text-generation/jobs. Keep the returned job ID and check GET /api/v1/developer/jobs/{jobId} before fetching its outputs. Text generation quickstart.
Developer access
Manage developer keys · OpenAPI reference · Plans and credits