# fastapi.online — GitHub Actions Workflow Generator

> fastapi.online — GitHub Actions Workflow Generator is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.004/call, status down (last checked 2026-09-15).

Generates a GitHub Actions YAML workflow file from a plain-language description of what the CI/CD pipeline should automate.

## Facts

- Endpoint: POST https://api.fastapi.online/generate-github-action
- Price: $0.004/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-github-actions-workflow-generator-633a157a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_llhXLkp6Hw2fDqZ0b2X5h

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fastapi-online-github-actions-workflow-generator-633a157a -d '<json body>'
```

Example prompt: Generate a GitHub Actions workflow that runs my Python test suite with pytest on every pull request and push to main, then deploys to Heroku if tests pass.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call GitHub Actions YAML scaffold without signing up for a service. Ideal for agents automating DevOps setup, onboarding new repos, or generating CI/CD templates on demand. Prefer over general-purpose LLMs when you want a dedicated, cost-transparent ($0.004/call) inference call with no rate-limit concerns tied to a subscription.

## Known failure modes

- Task description too vague to produce a meaningful workflow — returns a generic or incomplete YAML
- Task description exceeds 2000 character limit — request rejected with validation error
- Payment not completed — 402 response requiring crypto payment before content is returned
- Model produces syntactically incorrect YAML for highly complex or ambiguous tasks

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A GitHub Actions YAML workflow file (as text) ready to be saved as .github/workflows/<name>.yml, containing jobs, steps, triggers, and configuration tailored to the described automation task.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 2,
   "description": "what the workflow should automate"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-github-actions-workflow-generator-633a157a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
