Compare commits

...
Author SHA1 Message Date
Brandon Thomas c319482fc7 ask users to log in on sora video 2025-10-04 01:54:43 -04:00
Brandon Thomas 2145e7d458 fix jwt re-polling bug 2025-10-04 01:34:54 -04:00
Brandon Thomas 0b98f7cf71 set resolution on sora video 2025-10-04 01:17:12 -04:00
Brandon Thomas 611fcb6d9e forgotten class 2025-10-04 00:15:24 -04:00
Brandon Thomas ab6d30b3ad landscape/portrait works 2025-10-04 00:14:44 -04:00
Brandon Thomas a3b7273b1d wip 2025-10-03 23:53:02 -04:00
Brandon Thomas 9687a7fb98 handle uploads 2025-10-03 23:15:13 -04:00
Brandon Thomas ef419e5646 landscape 2025-10-03 22:01:21 -04:00
Brandon Thomas d3c7145090 fix prompts from sora 2025-10-03 21:00:40 -04:00
Brandon Thomas a9f420cebd generation and upload works 2025-10-03 20:26:27 -04:00
Brandon Thomas d2cf59d2be upload worked 2025-10-03 19:30:31 -04:00
Brandon Thomas cb4294967e updating to handle sora 2.0 task polling 2025-10-03 19:24:57 -04:00
Brandon Thomas 61f6d1413a frontend enqueue works 2025-10-03 18:50:34 -04:00
Brandon Thomas e9fc9cd40e generate sora2 in artcraft (wip) 2025-10-03 18:38:12 -04:00
Brandon Thomas fc28ec9ceb sora video polling wip 2025-10-03 17:07:00 -04:00
Brandon Thomas cf89c2bd9e video generation just works! 2025-10-03 15:18:33 -04:00
Brandon Thomas 64e9244169 new requests 2025-10-03 14:08:28 -04:00
Brandon Thomas 8a3aff877e use fixed task polling 2025-10-03 13:02:58 -04:00
Brandon Thomas 661a394146 changes to task polling 2025-10-02 18:58:19 -04:00
Brandon Thomas 19b13e6744 wip refactor of sora task polling thread 2025-10-02 02:52:34 -04:00
Brandon Thomas 79650fd950 save prompt info from sora 2025-10-02 01:49:51 -04:00
Brandon Thomas b7dabdd6c7 new sora login controls 2025-10-02 01:25:35 -04:00
Brandon Thomas 2d44b92bfc cleanup sora client (#863) 2025-10-02 00:27:16 -04:00
Brandon Thomas 8c36a7f98a refactor client package organization 2025-10-01 17:56:04 -04:00
Brandon Thomas a174730bf0 fix delete by calling tauri instead (#861) 2025-09-30 04:00:57 -04:00
Brandon Thomas 96ffeadbe0 github link (#860) 2025-09-29 23:10:00 -04:00
308 changed files with 5246 additions and 2178 deletions
+3
View File
@@ -45,6 +45,9 @@ crates/lib/sqlite_queries/target/
# Javascript build directories
node_modules/
# Frontend build outputs
frontend/apps/editor3d/bundle-report.html
# Vim noise
*.swo
*.swp
Generated
+217 -230
View File
File diff suppressed because it is too large Load Diff
+18 -5
View File
@@ -6,7 +6,8 @@ resolver = "2"
members = [
# API clients for external services
# These might be custom implementations or wrappers over other client libraries.
"crates/api_clients/artcraft_api_defs", # TODO: api_clients/{artcraft}/{api_defs,client}
"crates/api_clients/artcraft/artcraft_api_defs", # TODO: api_clients/{artcraft}/{api_defs,client}
"crates/api_clients/artcraft/storyteller_client",
"crates/api_clients/cloud_storage",
"crates/api_clients/fal_client",
"crates/api_clients/google_drive_common",
@@ -15,7 +16,6 @@ members = [
"crates/api_clients/openai_sora_client",
"crates/api_clients/openart_client",
"crates/api_clients/runwayml_client",
"crates/api_clients/storyteller_client",
"crates/api_clients/thumbnail_generator",
# CLI tools for operations, etc.
@@ -181,7 +181,7 @@ workspace-build-acceleration = { path = "crates/workspace-build-acceleration" }
# Internal libs
# Setting paths here ensures we don't need to do so in every crate's Cargo.toml
# It makes refactoring much easier.
artcraft_api_defs = { path = "crates/api_clients/artcraft_api_defs" }
artcraft_api_defs = { path = "crates/api_clients/artcraft/artcraft_api_defs" }
build_metadata = { path = "crates/lib/build_metadata" }
cloud_storage = { path = "crates/api_clients/cloud_storage" }
cloudflare_errors = { path = "crates/lib/cloudflare_errors" }
@@ -205,7 +205,7 @@ openai_sora_client = { path = "crates/api_clients/openai_sora_client" }
primitives = { path = "crates/lib/data/primitives" }
shared_service_components = { path = "crates/lib/shared_service_components" }
sqlite_tasks = { path = "crates/schema/database/sqlite_tasks" }
storyteller_client = { path = "crates/api_clients/storyteller_client" }
storyteller_client = { path = "crates/api_clients/artcraft/storyteller_client" }
subprocess_common = { path = "crates/lib/subprocess_common" }
test_data = { path = "crates/lib/test_data" }
testing = { path = "crates/lib/testing" }
@@ -237,7 +237,7 @@ log = "0.4.27"
once_cell = "1.21.3"
rand = "0.9.1"
regex = "1.11.1"
reqwest = { version = "0.12.22", features = ["json", "cookies"] }
reqwest = { version = "0.12.23", features = ["json", "cookies"] }
reqwest-websocket = { version = "0.5.0" }
serde = { version = "1.0.219", features = ["derive"] }
serde_derive = "1.0.219"
@@ -255,3 +255,16 @@ thiserror = "2.0.12"
tokio = { version = "1.45.1", features = ["macros"] }
toml = "0.8.22"
url = { version = "2.5.4", features = ["serde"] }
# NB: wreq gets past fingerprinting, but we have to deal with platform-specific build issues.
#
# Mac:
# brew install --formula cmake pkg-config llvm
# Windows:
# choco install cmake -y
# choco install strawberryperl -y
# choco install pkgconfiglite -y
# choco install llvm -y
# choco install nasm -y
wreq = { version = "6.0.0-rc.20", features = ["json", "multipart", "cookies"] }
wreq-util = "3.0.0-rc.5"
@@ -3,4 +3,5 @@ pub mod job_details;
pub mod media_file_cover_image_details;
pub mod media_links;
pub mod simple_entity_stats;
pub mod simple_generic_json_success;
pub mod user_details_light;
@@ -0,0 +1,7 @@
use serde_derive::{Deserialize, Serialize};
use utoipa::ToSchema;
#[derive(Serialize, Deserialize, ToSchema)]
pub struct SimpleGenericJsonSuccess {
pub success: bool,
}
@@ -0,0 +1,19 @@
use serde_derive::{Deserialize, Serialize};
use utoipa::ToSchema;
use tokens::tokens::media_files::MediaFileToken;
#[derive(Serialize, Deserialize, ToSchema)]
pub struct DeleteMediaFileRequest {
pub set_delete: bool,
/// NB: this is only to disambiguate when a user is both a mod and an author.
pub as_mod: Option<bool>,
}
/// For the URL PathInfo
#[derive(Serialize, Deserialize, ToSchema)]
pub struct DeleteMediaFilePathInfo {
pub token: MediaFileToken,
}
@@ -1 +1,2 @@
pub mod delete_media_file;
pub mod list_batch_generated_media_files;

Some files were not shown because too many files have changed in this diff Show More