Initial commit: Runware-powered content generator foundation
Laravel app with a cost-tracked Runware.ai integration (image, video, text generation), a hard monthly EUR budget cap with live USD/EUR FX conversion, and a locally-maintained model/pricing table since Runware's model-search API doesn't expose pricing.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\GenerationController;
|
||||
use App\Http\Controllers\RunwareModelController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::redirect('/', '/generations');
|
||||
|
||||
Route::get('/generations', [GenerationController::class, 'index'])->name('generations.index');
|
||||
Route::post('/generations', [GenerationController::class, 'store'])->name('generations.store');
|
||||
|
||||
Route::get('/runware-models', [RunwareModelController::class, 'index'])->name('runware-models.index');
|
||||
Route::post('/runware-models', [RunwareModelController::class, 'store'])->name('runware-models.store');
|
||||
Route::patch('/runware-models/{runwareModel}', [RunwareModelController::class, 'update'])->name('runware-models.update');
|
||||
Route::delete('/runware-models/{runwareModel}', [RunwareModelController::class, 'destroy'])->name('runware-models.destroy');
|
||||
Reference in New Issue
Block a user