Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c263c4a
feat: prepare repo for public GitHub release
dawidope Feb 7, 2026
ac21e8f
Initial plan
Copilot Feb 7, 2026
b8c7c23
Update .github/workflows/ci.yml
dawidope Feb 7, 2026
51e9b53
fix: include LICENSE file in Docker image
Copilot Feb 7, 2026
78582d3
Merge pull request #4 from deapi-ai/copilot/sub-pr-3
dawidope Feb 7, 2026
5f41d66
Initial plan
Copilot Feb 7, 2026
c8a4d51
fix: correct repository URLs from deapi-develop-tester to deapi-tester
Copilot Feb 7, 2026
37f35f8
Merge pull request #5 from deapi-ai/copilot/sub-pr-3-again
dawidope Feb 7, 2026
6063ea9
Initial plan
Copilot Feb 7, 2026
242231d
fix: add OG/Twitter images and upgrade eslint-config-next to v15
Copilot Feb 7, 2026
ad5d7b2
Merge pull request #6 from deapi-ai/copilot/sub-pr-3-another-one
dawidope Feb 7, 2026
cf1acb7
Initial plan
Copilot Feb 7, 2026
8f425d3
fix: add metadataBase to resolve OG/Twitter image URLs
Copilot Feb 7, 2026
56e7655
fix: use localhost:3000 as default metadataBase for local dev
Copilot Feb 7, 2026
0e0e38a
Merge pull request #7 from deapi-ai/copilot/sub-pr-3-yet-again
dawidope Feb 7, 2026
40eb1e0
Initial plan
Copilot Feb 8, 2026
dd7a071
fix: address Node.js version requirements and metadata validation
Copilot Feb 8, 2026
403d7fd
refine: improve warning message clarity for invalid NEXT_PUBLIC_SITE_URL
Copilot Feb 8, 2026
df91786
Merge pull request #8 from deapi-ai/copilot/sub-pr-3-one-more-time
dawidope Feb 8, 2026
8920528
Initial plan
Copilot Feb 8, 2026
9a564db
Merge pull request #9 from deapi-ai/copilot/sub-pr-3-please-work
dawidope Feb 8, 2026
b43e0f4
Update src/app/layout.tsx
dawidope Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
node_modules
.next
.git
.github
.claude
.vscode
.env*.local
data/config.json
data/history.json
output
*.md
!README.md
.DS_Store
nul
npm-debug.log*
5 changes: 5 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# Your deAPI API token (get it from https://deapi.ai)
DEAPI_API_TOKEN=your_token_here

# Site URL for metadata (used for OG and Twitter images)
# Optional: defaults to http://localhost:3000
# Set this if deploying to production (e.g., https://your-domain.com)
# NEXT_PUBLIC_SITE_URL=https://your-domain.com

# API URL (default: https://api.deapi.ai/api/v1/client)
DEAPI_API_URL=https://api.deapi.ai/api/v1/client

Expand Down
42 changes: 42 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Contributing to deAPI Tester

Thanks for your interest in contributing!

## Development Setup

```bash
git clone https://github.com/deapi-ai/deapi-tester.git
cd deapi-tester
npm install
npm run dev
```

Open [http://localhost:3000](http://localhost:3000).

## Code Style

- TypeScript strict mode — no `any`
- PascalCase for components, camelCase for functions/variables
- Use `@/` alias for imports
- Tailwind classes for styling (CSS variables for theme-aware colors)
- One component per file, keep under ~300 lines

## Submitting Changes

1. Create a branch: `git checkout -b feature/my-feature`
2. Make changes and test locally
3. Run `npm run lint` to check for issues
4. Commit with a clear message
5. Push and open a Pull Request

## Adding Endpoints

See the [Adding New Endpoints](../README.md#adding-new-endpoints) section in the README. Only `src/lib/endpoint-registry.ts` needs editing — form UI is generated automatically.

## Reporting Bugs

Use [GitHub Issues](https://github.com/deapi-ai/deapi-tester/issues) and include:
- Description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug Report
about: Report a bug to help us improve
title: '[Bug] '
labels: bug
---

## Description

A clear description of the bug.

## Steps to Reproduce

1. Go to '...'
2. Click on '...'
3. See error

## Expected Behavior

What you expected to happen.

## Actual Behavior

What actually happened.

## Environment

- OS: [e.g. Windows 11, macOS 14]
- Node.js: [e.g. 20.10]
- Browser: [e.g. Chrome 120]
- Docker: [yes/no]

## Screenshots

If applicable, add screenshots.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature Request
about: Suggest a new feature
title: '[Feature] '
labels: enhancement
---

## Description

A clear description of the feature you'd like.

## Use Case

Why is this feature useful? What problem does it solve?

## Proposed Solution

How would you like it to work?
21 changes: 21 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Description

Brief description of changes.

## Type of Change

- [ ] Bug fix
- [ ] New feature
- [ ] Documentation
- [ ] Refactoring

## Testing

How was this tested?

## Checklist

- [ ] Code follows project style guidelines
- [ ] No debug code left in
- [ ] Tested locally
- [ ] Updated README if needed
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.18.x', '20.x']
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci

- run: npm run lint

- run: npm run build
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 deAPI.ai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# deAPI Tester

A local developer tool for testing [deAPI.ai](https://deapi.ai) endpoints - unified AI inference API for image generation, video creation, audio synthesis, and more.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js 18.18.0+](https://img.shields.io/badge/Node.js-18.18.0%2B-green.svg)](https://nodejs.org/)
[![Next.js 15](https://img.shields.io/badge/Next.js-15-black.svg)](https://nextjs.org/)
[![Docker](https://img.shields.io/badge/Docker-ready-blue.svg)](https://www.docker.com/)

A local developer tool for testing [deAPI.ai](https://deapi.ai) endpoints — unified AI inference API for image generation, video creation, audio synthesis, and more.

> **What is deAPI?** A single API to access multiple AI models (Stable Diffusion, Flux, Kling, Minimax, etc.) for image generation, video creation, text-to-speech, transcription and more. Learn more at [deapi.ai](https://deapi.ai).

## Screenshot

![deAPI Tester — Dark Mode](docs/screenshot-dark.png)

## Features

Expand Down Expand Up @@ -38,8 +49,8 @@ A local developer tool for testing [deAPI.ai](https://deapi.ai) endpoints - unif

```bash
# Clone the repository
git clone https://github.com/deapi-ai/deapi-develop-tester.git
cd deapi-develop-tester
git clone https://github.com/deapi-ai/deapi-tester.git
cd deapi-tester
```

### Docker (recommended)
Expand Down Expand Up @@ -204,11 +215,22 @@ The form is automatically generated. Model options, limits, and defaults are loa
- Adding a new model to deAPI requires **zero code changes** — it auto-appears in the UI
- Configuration and history are stored in local JSON files

## Contributing

Contributions are welcome! Please read the [Contributing Guide](.github/CONTRIBUTING.md) before submitting a PR.

1. Fork the repository
2. Create your branch: `git checkout -b feature/my-feature`
3. Commit your changes
4. Push and open a Pull Request

## License

MIT
[MIT](LICENSE)

## Links
## deAPI Ecosystem

- [deAPI.ai](https://deapi.ai) - AI inference API
- [deAPI Documentation](https://docs.deapi.ai) - API documentation
- [deAPI.ai](https://deapi.ai) — Unified AI inference API
- [API Documentation](https://docs.deapi.ai) — Full endpoint reference, auth, webhooks, WebSockets
- [Claude Code Skills](https://github.com/deapi-ai/claude-code-skills) — Use deAPI directly from Claude Code terminal (generate images, videos, audio, transcribe and more)
- [Report a Bug](https://github.com/deapi-ai/deapi-tester/issues)
Binary file added docs/screenshot-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions llms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# deAPI — Unified AI Inference API

> One API to access all AI models. Image generation, video creation, text-to-speech, transcription, OCR, embeddings and more.

## What is deAPI?

deAPI.ai is a unified AI inference API that gives developers access to multiple AI models through a single endpoint. Instead of integrating separately with Stability AI, Replicate, ElevenLabs, OpenAI and others, developers use one API — deAPI — to access all of them.

deAPI runs on a decentralized GPU network, offering cost-effective AI inference compared to traditional cloud providers.

Website: https://deapi.ai
API documentation: https://docs.deapi.ai
Full API reference for LLMs: https://docs.deapi.ai/llms-full.txt

## Supported Capabilities

- **Image Generation** — Text-to-image (txt2img) and image-to-image (img2img) with models like Flux, Stable Diffusion, and more
- **Video Generation** — Text-to-video (txt2video) and image-to-video (img2video) with models like Kling, Minimax, and more
- **Text-to-Speech** — High-quality speech synthesis with multiple voices and languages
- **Transcription** — Audio, video, YouTube, Twitch, X Spaces, and Kick stream transcription
- **OCR** — Optical character recognition from images
- **Image Utilities** — Upscale, remove background, style transfer
- **Embeddings** — Text-to-embedding generation
- **Prompt Enhancement** — AI-powered prompt optimization for image, video, and speech

New models and capabilities are added continuously — no client-side code changes needed.

## How the API Works

All endpoints are asynchronous. A request returns a `request_id`, and results can be retrieved via:
1. **Webhooks** (recommended) — Automatic delivery with retries
2. **WebSockets** — Real-time updates with live previews
3. **Polling** — Manual status checks via `/request-status`

Base URL: `https://api.deapi.ai`
Authentication: Bearer token in Authorization header.

## Pricing

Pay-per-use model. New accounts receive $5 free credit. Each endpoint has a price calculator to estimate costs before sending requests. Full pricing details at https://docs.deapi.ai.

## Integrations

- **MCP Server** — Use deAPI from AI assistants and IDEs (Claude, Cursor, etc.)
- **Claude Code Skills** — Generate images, videos, audio, transcribe and more directly from terminal: https://github.com/deapi-ai/claude-code-skills
- **n8n Integration** — Workflow automation with deAPI nodes
- **deAPI Tester** — Open-source web UI for testing all endpoints with dynamic forms, job tracking and result preview: https://github.com/deapi-ai/deapi-tester

## Available Models

Models are auto-discovered via the `/models` API endpoint. Current categories include:
- Image generation: Flux (Schnell, Dev, Pro), Stable Diffusion, and more
- Video generation: Kling, Minimax, and more
- TTS: Multiple providers with various voices and languages
- Transcription: Whisper-based models
- OCR, upscaling, background removal, embeddings

The model list grows as new providers are onboarded — no API changes required.

## Links

- Website: https://deapi.ai
- API Documentation: https://docs.deapi.ai
- API Reference (LLM-readable): https://docs.deapi.ai/llms-full.txt
- Claude Code Skills: https://github.com/deapi-ai/claude-code-skills
- deAPI Tester (this repo): https://github.com/deapi-ai/deapi-tester
- Support: https://docs.deapi.ai (FAQ & contact)

## License

This repository (deAPI Tester) is MIT licensed.
Loading
Loading