Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
3 changes: 3 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import './globals.css';
import { Providers } from '@/components/Providers';

export const metadata: Metadata = {
metadataBase: new URL(
process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
),
title: 'deAPI Tester — Test AI Inference Endpoints',
description:
'Local developer tool for testing deAPI.ai endpoints. Generate images, videos, audio and more with dynamic forms, async job tracking, and result preview.',
Expand Down