# Generate Flux Config

**CLI:** 1node generate-flux-config

**API:**

POST /v1/templates/flux-config

**Body (JSON):** specify name, image, ports, env, resources

**Response (201):**

```
{ "configPath":"/workspace/flux-config.json" }
```

***

All endpoints support ?output=json to return responses in JSON, and X-1NODE-CLI:true header to skip interactive steps in CI/CD.
