mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-21 09:22:41 -04:00
Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9dfbf13be0 | ||
|
|
ef4756c964 | ||
|
|
6049961465 | ||
|
|
b490b92833 | ||
|
|
f151837c2b | ||
|
|
86a6d16441 | ||
|
|
b9397fb809 | ||
|
|
5688d8cef7 | ||
|
|
6815040cb1 | ||
|
|
754a4da019 | ||
|
|
3a600fcb9f | ||
|
|
510589b758 | ||
|
|
7ee5a6aa9a | ||
|
|
f5cd65be9c | ||
|
|
fba1a65e95 |
Generated
+47
@@ -698,6 +698,7 @@ dependencies = [
|
||||
"url_utils",
|
||||
"web_base64",
|
||||
"workspace-build-acceleration",
|
||||
"world_labs_client",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5151,6 +5152,14 @@ dependencies = [
|
||||
"tokio-util",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "http_headers"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"errors",
|
||||
"workspace-build-acceleration",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "http_server_common"
|
||||
version = "0.0.1"
|
||||
@@ -14165,6 +14174,44 @@ dependencies = [
|
||||
"zstd-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "world_labs_client"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64 0.22.1",
|
||||
"bstr",
|
||||
"byteorder",
|
||||
"chrono",
|
||||
"cloudflare_errors",
|
||||
"cloudflare_mitigation",
|
||||
"cookie_store 0.0.1",
|
||||
"env",
|
||||
"env_logger",
|
||||
"errors",
|
||||
"filesys",
|
||||
"futures 0.3.31",
|
||||
"http_headers",
|
||||
"indexmap 2.9.0",
|
||||
"jwt_light",
|
||||
"log",
|
||||
"log4rs",
|
||||
"once_cell",
|
||||
"regex",
|
||||
"scraper 0.24.0",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha2 0.11.0-rc.2",
|
||||
"test_data",
|
||||
"testing",
|
||||
"tokio",
|
||||
"url",
|
||||
"uuid 1.18.1",
|
||||
"workspace-build-acceleration",
|
||||
"wreq",
|
||||
"wreq-util",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wreq"
|
||||
version = "6.0.0-rc.20"
|
||||
|
||||
@@ -18,6 +18,7 @@ members = [
|
||||
"crates/api_clients/openart_client",
|
||||
"crates/api_clients/runwayml_client",
|
||||
"crates/api_clients/thumbnail_generator",
|
||||
"crates/api_clients/world_labs_client",
|
||||
|
||||
# CLI tools for operations, etc.
|
||||
"crates/cli/devenv/dev-database-seed",
|
||||
@@ -67,6 +68,7 @@ members = [
|
||||
"crates/lib/files/media",
|
||||
"crates/lib/files/mimetypes",
|
||||
"crates/lib/files/videos",
|
||||
"crates/lib/http_headers",
|
||||
"crates/lib/idempotency",
|
||||
"crates/lib/image_algorithms",
|
||||
"crates/lib/jobs_common",
|
||||
@@ -199,6 +201,7 @@ fal_client = { path = "crates/api_clients/fal_client" }
|
||||
file_to_base64_url = { path = "crates/lib/files/file_to_base64_url" }
|
||||
filesys = { path = "crates/lib/files/filesys" }
|
||||
grok_client = { path = "crates/api_clients/grok_client" }
|
||||
http_headers = { path = "crates/lib/http_headers" }
|
||||
idempotency = { path = "crates/lib/idempotency" }
|
||||
images = { path = "crates/lib/files/images" }
|
||||
jwt_light = { path = "crates/lib/jwt_light" }
|
||||
@@ -217,6 +220,7 @@ testing = { path = "crates/lib/testing" }
|
||||
tokens = { path = "crates/schema/public/tokens" }
|
||||
url_utils = { path = "crates/lib/url_utils" }
|
||||
web_base64 = { path = "crates/lib/data/web_base64" }
|
||||
world_labs_client = { path = "crates/api_clients/world_labs_client" }
|
||||
|
||||
# External libs
|
||||
# Centrally pinned versions so that we can uniformly upgrade/downgrade versions across the workspace
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
pub mod flux_pro_kontext_max_edit_image;
|
||||
pub mod gpt_image_1_edit_image;
|
||||
pub mod gemini_25_flash_edit_image;
|
||||
pub mod gpt_image_1_edit_image;
|
||||
pub mod qwen_edit_image;
|
||||
pub mod seededit_3_edit_image;
|
||||
|
||||
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use tokens::tokens::generic_inference_jobs::InferenceJobToken;
|
||||
use tokens::tokens::media_files::MediaFileToken;
|
||||
use utoipa::ToSchema;
|
||||
|
||||
pub const BYTEDANCE_SEEDREAM_V4_MULTI_FUNCTION_IMAGE_GEN_PATH: &str = "/v1/generate/image/multi_function/bytedance_seedream_4";
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct BytedanceSeedreamV4MultiFunctionImageGenRequest {
|
||||
/// Idempotency token to prevent duplicate requests.
|
||||
pub uuid_idempotency_token: String,
|
||||
|
||||
/// Text prompt to generate the image from.
|
||||
pub prompt: Option<String>,
|
||||
|
||||
/// Image media tokens to include in the editing context.
|
||||
/// If present, we're doing image editing (image-to-image / image-editing)
|
||||
/// If absent, we're doing image generation (text-to-image)
|
||||
pub image_media_tokens: Option<Vec<MediaFileToken>>,
|
||||
|
||||
/// Number of images to generate. Default is one.
|
||||
pub num_images: Option<BytedanceSeedreamV4MultiFunctionImageGenNumImages>,
|
||||
|
||||
pub max_images: Option<BytedanceSeedreamV4MultiFunctionImageGenMaxImages>,
|
||||
|
||||
pub image_size: Option<BytedanceSeedreamV4MultiFunctionImageGenImageSize>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4MultiFunctionImageGenNumImages {
|
||||
One, // Default
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4MultiFunctionImageGenMaxImages {
|
||||
One, // Default
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4MultiFunctionImageGenImageSize {
|
||||
// Square
|
||||
Square,
|
||||
SquareHd,
|
||||
// Tall
|
||||
PortraitFourThree,
|
||||
PortraitSixteenNine,
|
||||
// Wide
|
||||
LandscapeFourThree,
|
||||
LandscapeSixteenNine,
|
||||
// Auto
|
||||
Auto,
|
||||
Auto2k,
|
||||
Auto4k,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct BytedanceSeedreamV4MultiFunctionImageGenResponse {
|
||||
pub success: bool,
|
||||
pub inference_job_token: InferenceJobToken,
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use tokens::tokens::generic_inference_jobs::InferenceJobToken;
|
||||
use tokens::tokens::media_files::MediaFileToken;
|
||||
use utoipa::ToSchema;
|
||||
|
||||
pub const BYTEDANCE_SEEDREAM_V4P5_MULTI_FUNCTION_IMAGE_GEN_PATH: &str = "/v1/generate/image/multi_function/bytedance_seedream_4p5";
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct BytedanceSeedreamV4p5MultiFunctionImageGenRequest {
|
||||
/// Idempotency token to prevent duplicate requests.
|
||||
pub uuid_idempotency_token: String,
|
||||
|
||||
/// Text prompt to generate the image from.
|
||||
pub prompt: Option<String>,
|
||||
|
||||
/// Image media tokens to include in the editing context.
|
||||
/// If present, we're doing image editing (image-to-image / image-editing)
|
||||
/// If absent, we're doing image generation (text-to-image)
|
||||
pub image_media_tokens: Option<Vec<MediaFileToken>>,
|
||||
|
||||
/// Number of images to generate. Default is one.
|
||||
pub num_images: Option<BytedanceSeedreamV4p5MultiFunctionImageGenNumImages>,
|
||||
|
||||
pub max_images: Option<BytedanceSeedreamV4p5MultiFunctionImageGenMaxImages>,
|
||||
|
||||
pub image_size: Option<BytedanceSeedreamV4p5MultiFunctionImageGenImageSize>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4p5MultiFunctionImageGenNumImages {
|
||||
One, // Default
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4p5MultiFunctionImageGenMaxImages {
|
||||
One, // Default
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum BytedanceSeedreamV4p5MultiFunctionImageGenImageSize {
|
||||
// Square
|
||||
Square,
|
||||
SquareHd,
|
||||
// Tall
|
||||
PortraitFourThree,
|
||||
PortraitSixteenNine,
|
||||
// Wide
|
||||
LandscapeFourThree,
|
||||
LandscapeSixteenNine,
|
||||
// Auto
|
||||
Auto2k,
|
||||
Auto4k,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct BytedanceSeedreamV4p5MultiFunctionImageGenResponse {
|
||||
pub success: bool,
|
||||
pub inference_job_token: InferenceJobToken,
|
||||
}
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use tokens::tokens::generic_inference_jobs::InferenceJobToken;
|
||||
use tokens::tokens::media_files::MediaFileToken;
|
||||
use utoipa::ToSchema;
|
||||
|
||||
pub const GPT_IMAGE_1P5_MULTI_FUNCTION_IMAGE_GEN_PATH: &str = "/v1/generate/image/multi_function/gpt_image_1p5";
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct GptImage1p5MultiFunctionImageGenRequest {
|
||||
/// Idempotency token to prevent duplicate requests.
|
||||
pub uuid_idempotency_token: String,
|
||||
|
||||
/// Text prompt to generate the image from.
|
||||
pub prompt: Option<String>,
|
||||
|
||||
/// Image media tokens to include in the editing context (**OR INPAINTING CONTEXT!**).
|
||||
/// If present, we're doing image editing (image-to-image / image-editing / image-inpainting)
|
||||
/// If absent, we're doing image generation (text-to-image)
|
||||
pub image_media_tokens: Option<Vec<MediaFileToken>>,
|
||||
|
||||
/// Only for image editing, which turns this into an inpainting task.
|
||||
/// Text to image should not set this.
|
||||
pub mask_image_token: Option<MediaFileToken>,
|
||||
|
||||
/// Number of images to generate. Default is one.
|
||||
pub num_images: Option<GptImage1p5MultiFunctionImageGenNumImages>,
|
||||
|
||||
pub image_size: Option<GptImage1p5MultiFunctionImageGenSize>,
|
||||
|
||||
pub background: Option<GptImage1p5MultiFunctionImageGenBackground>,
|
||||
|
||||
pub quality: Option<GptImage1p5MultiFunctionImageGenQuality>,
|
||||
|
||||
/// Only for image editing.
|
||||
pub input_fidelity: Option<GptImage1p5MultiFunctionImageGenInputFidelity>,
|
||||
|
||||
pub output_format: Option<GptImage1p5MultiFunctionImageGenOutputFormat>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenNumImages {
|
||||
One, // Default
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenSize {
|
||||
/// 1024x1024
|
||||
Square,
|
||||
/// 1536x1024
|
||||
Wide,
|
||||
/// 1024x1536
|
||||
Tall,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenBackground {
|
||||
Auto,
|
||||
Transparent,
|
||||
Opaque,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenQuality {
|
||||
Low,
|
||||
Medium,
|
||||
High,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenInputFidelity {
|
||||
Low,
|
||||
High,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum GptImage1p5MultiFunctionImageGenOutputFormat {
|
||||
Jpeg,
|
||||
Png,
|
||||
Webp,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, ToSchema)]
|
||||
pub struct GptImage1p5MultiFunctionImageGenResponse {
|
||||
pub success: bool,
|
||||
pub inference_job_token: InferenceJobToken,
|
||||
}
|
||||
@@ -1 +1,4 @@
|
||||
pub mod bytedance_seedream_v4_multi_function_image_gen;
|
||||
pub mod bytedance_seedream_v4p5_multi_function_image_gen;
|
||||
pub mod gpt_image_1p5_multi_function_image_gen;
|
||||
pub mod nano_banana_pro_multi_function_image_gen;
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
use crate::credentials::storyteller_credential_set::StorytellerCredentialSet;
|
||||
use crate::error::storyteller_error::StorytellerError;
|
||||
use crate::utils::api_host::ApiHost;
|
||||
use crate::utils::basic_json_post_request::basic_json_post_request;
|
||||
use artcraft_api_defs::generate::image::multi_function::bytedance_seedream_v4_multi_function_image_gen::{BytedanceSeedreamV4MultiFunctionImageGenRequest, BytedanceSeedreamV4MultiFunctionImageGenResponse, BYTEDANCE_SEEDREAM_V4_MULTI_FUNCTION_IMAGE_GEN_PATH};
|
||||
|
||||
pub async fn bytedance_seedream_v4_multi_function_image_gen(
|
||||
api_host: &ApiHost,
|
||||
maybe_creds: Option<&StorytellerCredentialSet>,
|
||||
request: BytedanceSeedreamV4MultiFunctionImageGenRequest,
|
||||
) -> Result<BytedanceSeedreamV4MultiFunctionImageGenResponse, StorytellerError> {
|
||||
Ok(basic_json_post_request(
|
||||
api_host,
|
||||
BYTEDANCE_SEEDREAM_V4_MULTI_FUNCTION_IMAGE_GEN_PATH,
|
||||
maybe_creds,
|
||||
request,
|
||||
).await?)
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
use crate::credentials::storyteller_credential_set::StorytellerCredentialSet;
|
||||
use crate::error::storyteller_error::StorytellerError;
|
||||
use crate::utils::api_host::ApiHost;
|
||||
use crate::utils::basic_json_post_request::basic_json_post_request;
|
||||
use artcraft_api_defs::generate::image::multi_function::bytedance_seedream_v4p5_multi_function_image_gen::{BytedanceSeedreamV4p5MultiFunctionImageGenRequest, BytedanceSeedreamV4p5MultiFunctionImageGenResponse, BYTEDANCE_SEEDREAM_V4P5_MULTI_FUNCTION_IMAGE_GEN_PATH};
|
||||
|
||||
pub async fn bytedance_seedream_v4p5_multi_function_image_gen(
|
||||
api_host: &ApiHost,
|
||||
maybe_creds: Option<&StorytellerCredentialSet>,
|
||||
request: BytedanceSeedreamV4p5MultiFunctionImageGenRequest,
|
||||
) -> Result<BytedanceSeedreamV4p5MultiFunctionImageGenResponse, StorytellerError> {
|
||||
Ok(basic_json_post_request(
|
||||
api_host,
|
||||
BYTEDANCE_SEEDREAM_V4P5_MULTI_FUNCTION_IMAGE_GEN_PATH,
|
||||
maybe_creds,
|
||||
request,
|
||||
).await?)
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
use crate::credentials::storyteller_credential_set::StorytellerCredentialSet;
|
||||
use crate::error::storyteller_error::StorytellerError;
|
||||
use crate::utils::api_host::ApiHost;
|
||||
use crate::utils::basic_json_post_request::basic_json_post_request;
|
||||
use artcraft_api_defs::generate::image::multi_function::gpt_image_1p5_multi_function_image_gen::{GptImage1p5MultiFunctionImageGenRequest, GptImage1p5MultiFunctionImageGenResponse, GPT_IMAGE_1P5_MULTI_FUNCTION_IMAGE_GEN_PATH};
|
||||
|
||||
pub async fn gpt_image_1p5_multi_function_image_gen(
|
||||
api_host: &ApiHost,
|
||||
maybe_creds: Option<&StorytellerCredentialSet>,
|
||||
request: GptImage1p5MultiFunctionImageGenRequest,
|
||||
) -> Result<GptImage1p5MultiFunctionImageGenResponse, StorytellerError> {
|
||||
Ok(basic_json_post_request(
|
||||
api_host,
|
||||
GPT_IMAGE_1P5_MULTI_FUNCTION_IMAGE_GEN_PATH,
|
||||
maybe_creds,
|
||||
request,
|
||||
).await?)
|
||||
}
|
||||
+3
@@ -1 +1,4 @@
|
||||
pub mod bytedance_seedream_v4_multi_function_image_gen_image;
|
||||
pub mod bytedance_seedream_v4p5_multi_function_image_gen_image;
|
||||
pub mod gpt_image_1p5_multi_function_image_gen_image;
|
||||
pub mod nano_banana_pro_multi_function_image_gen_image;
|
||||
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
use crate::credentials::storyteller_credential_set::StorytellerCredentialSet;
|
||||
use crate::error::api_error::ApiError;
|
||||
use crate::error::client_error::ClientError;
|
||||
use crate::error::storyteller_error::StorytellerError;
|
||||
use crate::utils::api_host::ApiHost;
|
||||
use crate::utils::constants::{APPLICATION_JSON, USER_AGENT};
|
||||
use crate::utils::filter_bad_response::filter_bad_response;
|
||||
use crate::utils::http_get_anonymous::http_get_anonymous;
|
||||
use chrono::{DateTime, Utc};
|
||||
use enums::by_table::media_files::media_file_animation_type::MediaFileAnimationType;
|
||||
use enums::by_table::media_files::media_file_class::MediaFileClass;
|
||||
use enums::by_table::media_files::media_file_engine_category::MediaFileEngineCategory;
|
||||
use enums::by_table::media_files::media_file_type::MediaFileType;
|
||||
use enums::by_table::model_weights::weights_category::WeightsCategory;
|
||||
use enums::common::generation_provider::GenerationProvider;
|
||||
use enums::common::visibility::Visibility;
|
||||
use enums::no_table::style_transfer::style_transfer_name::StyleTransferName;
|
||||
use enums_public::by_table::model_weights::public_weights_types::PublicWeightsType;
|
||||
use idempotency::uuid::generate_random_uuid;
|
||||
use log::debug;
|
||||
use reqwest::multipart::Form;
|
||||
use reqwest::Client;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use std::fs::File;
|
||||
use std::io::Read;
|
||||
use std::path::Path;
|
||||
use tokens::tokens::batch_generations::BatchGenerationToken;
|
||||
use tokens::tokens::media_files::MediaFileToken;
|
||||
use tokens::tokens::model_weights::ModelWeightToken;
|
||||
use tokens::tokens::prompts::PromptToken;
|
||||
use uuid::uuid;
|
||||
|
||||
pub struct LegacyUploadMediaFileFromFileArgs<'a, P: AsRef<Path>> {
|
||||
pub api_host: &'a ApiHost,
|
||||
pub maybe_creds: Option<&'a StorytellerCredentialSet>,
|
||||
|
||||
// NB: Path needs to be owned for the request.
|
||||
pub path: P,
|
||||
|
||||
// /// If true, we should hide the image from the user's gallery.
|
||||
// pub is_intermediate_system_file: bool,
|
||||
|
||||
// /// If provided, this is the prompt that this image is associated with.
|
||||
// /// NOTE: Cannot set `is_intermediate_system_file = true` if this is set.
|
||||
// pub maybe_prompt_token: Option<&'a PromptToken>,
|
||||
|
||||
// /// If provided, this is the service provider that created the image.
|
||||
// /// NOTE: Cannot set `is_intermediate_system_file = true` if this is set.
|
||||
// pub maybe_generation_provider: Option<GenerationProvider>,
|
||||
|
||||
// /// If provided, this groups the file into a batch
|
||||
// /// TODO: This shouldn't be set clientside without the backend generating the token
|
||||
// /// and cryptographically securing it. But we need to go fast here.
|
||||
// pub maybe_batch_token: Option<&'a BatchGenerationToken>,
|
||||
}
|
||||
|
||||
|
||||
/// Upload using the legacy endpoint (spz, etc.)
|
||||
pub async fn legacy_upload_media_file_from_file<P: AsRef<Path>>(
|
||||
args: LegacyUploadMediaFileFromFileArgs<'_, P>,
|
||||
) -> Result<UploadImageMediaFileSuccessResponse, StorytellerError> {
|
||||
|
||||
validate_args(&args)?;
|
||||
|
||||
let url = get_route(args.api_host);
|
||||
|
||||
debug!("Requesting {:?}", &url);
|
||||
|
||||
//let mut file = File::open(path)?;
|
||||
|
||||
let client = Client::builder()
|
||||
.gzip(true)
|
||||
.build()
|
||||
.map_err(|err| StorytellerError::Client(ClientError::from(err)))?;
|
||||
|
||||
let mut form = Form::new()
|
||||
.text("uuid_idempotency_token", generate_random_uuid())
|
||||
.file("file", args.path)
|
||||
.await
|
||||
.map_err(|err| StorytellerError::Client(ClientError::from(err)))?;
|
||||
|
||||
//if args.is_intermediate_system_file {
|
||||
// form = form.text("is_intermediate_system_file", "true");
|
||||
//}
|
||||
|
||||
//if let Some(prompt_token) = &args.maybe_prompt_token {
|
||||
// form = form.text("maybe_prompt_token", prompt_token.to_string());
|
||||
//}
|
||||
|
||||
//if let Some(batch_token) = &args.maybe_batch_token {
|
||||
// form = form.text("maybe_batch_token", batch_token.to_string());
|
||||
//}
|
||||
|
||||
let mut request_builder = client.post(url)
|
||||
.header("User-Agent", USER_AGENT)
|
||||
.header("Accept", APPLICATION_JSON);
|
||||
|
||||
if let Some(creds) = args.maybe_creds {
|
||||
if let Some(header) = &creds.maybe_as_cookie_header() {
|
||||
request_builder = request_builder.header("Cookie", header);
|
||||
}
|
||||
}
|
||||
|
||||
let response = request_builder
|
||||
.multipart(form)
|
||||
.send()
|
||||
.await
|
||||
.map_err(|err| StorytellerError::Api(ApiError::from(err)))?;
|
||||
|
||||
let response = filter_bad_response(response).await?;
|
||||
let response_body = &response.text().await
|
||||
.map_err(|err| StorytellerError::Api(ApiError::from(err)))?;
|
||||
|
||||
let media_file = serde_json::from_str(&response_body)
|
||||
.map_err(|err| StorytellerError::Api(ApiError::from(err)))?;
|
||||
|
||||
Ok(media_file)
|
||||
}
|
||||
|
||||
fn get_route(api_host: &ApiHost) -> String {
|
||||
let api_hostname_and_scheme = api_host.to_api_hostname_and_scheme();
|
||||
format!("{}/v1/media_files/upload", api_hostname_and_scheme)
|
||||
}
|
||||
|
||||
// TODO(bt,2025-04-22): Share API definitions between client and server in common crate.
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct UploadImageMediaFileSuccessResponse {
|
||||
pub success: bool,
|
||||
pub media_file_token: MediaFileToken,
|
||||
}
|
||||
|
||||
fn validate_args<P: AsRef<Path>>(
|
||||
args: &LegacyUploadMediaFileFromFileArgs<'_, P>,
|
||||
) -> Result<(), StorytellerError> {
|
||||
// if args.is_intermediate_system_file && args.maybe_prompt_token.is_some() {
|
||||
// return Err(StorytellerError::Client(ClientError::InvalidPreflightRequest(
|
||||
// "Cannot set `is_intermediate_system_file` to true if `maybe_prompt_token` is provided."
|
||||
// .to_string())));
|
||||
// }
|
||||
|
||||
Ok(())
|
||||
}
|
||||
@@ -5,3 +5,4 @@ pub mod upload_image_media_file_from_bytes;
|
||||
pub mod upload_image_media_file_from_file;
|
||||
pub mod upload_new_engine_asset_from_file;
|
||||
pub mod upload_video_media_file_from_file;
|
||||
pub mod legacy_upload_media_file_from_file;
|
||||
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
use crate::creds::fal_api_key::FalApiKey;
|
||||
use crate::error::classify_fal_error::classify_fal_error;
|
||||
use crate::error::fal_error_plus::FalErrorPlus;
|
||||
use fal::endpoints::fal_ai::gpt_image::gpt_image_1p5_image_edit::{gpt_image_1p5_image_edit, GptImage1p5ImageEditInput};
|
||||
use fal::webhook::WebhookResponse;
|
||||
use reqwest::IntoUrl;
|
||||
|
||||
pub struct EnqueueGptImage1p5EditImageArgs<'a, R: IntoUrl> {
|
||||
// Request required
|
||||
pub prompt: &'a str,
|
||||
pub image_urls: Vec<String>,
|
||||
pub num_images: EnqueueGptImage1p5EditImageNumImages,
|
||||
|
||||
// Optional args
|
||||
pub mask_image_url: Option<String>,
|
||||
pub image_size: Option<EnqueueGptImage1p5EditImageSize>,
|
||||
pub background: Option<EnqueueGptImage1p5EditImageBackground>,
|
||||
pub quality: Option<EnqueueGptImage1p5EditImageQuality>,
|
||||
pub input_fidelity: Option<EnqueueGptImage1p5EditImageInputFidelity>,
|
||||
pub output_format: Option<EnqueueGptImage1p5EditImageOutputFormat>,
|
||||
|
||||
// Fulfillment
|
||||
pub webhook_url: R,
|
||||
pub api_key: &'a FalApiKey,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageNumImages {
|
||||
One,
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageSize {
|
||||
/// 1024x1024
|
||||
Square,
|
||||
/// 1536x1024
|
||||
Wide,
|
||||
/// 1024x1536
|
||||
Tall,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageBackground {
|
||||
Auto,
|
||||
Transparent,
|
||||
Opaque,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageQuality {
|
||||
Low,
|
||||
Medium,
|
||||
High,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageInputFidelity {
|
||||
Low,
|
||||
High,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5EditImageOutputFormat {
|
||||
Jpeg,
|
||||
Png,
|
||||
Webp,
|
||||
}
|
||||
|
||||
pub async fn enqueue_gpt_image_1p5_image_edit_webhook<R: IntoUrl>(
|
||||
args: EnqueueGptImage1p5EditImageArgs<'_, R>
|
||||
) -> Result<WebhookResponse, FalErrorPlus> {
|
||||
|
||||
let num_images = match args.num_images {
|
||||
EnqueueGptImage1p5EditImageNumImages::One => 1,
|
||||
EnqueueGptImage1p5EditImageNumImages::Two => 2,
|
||||
EnqueueGptImage1p5EditImageNumImages::Three => 3,
|
||||
EnqueueGptImage1p5EditImageNumImages::Four => 4,
|
||||
};
|
||||
|
||||
let image_size = args.image_size
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5EditImageSize::Square => "1024x1024",
|
||||
EnqueueGptImage1p5EditImageSize::Wide => "1536x1024",
|
||||
EnqueueGptImage1p5EditImageSize::Tall => "1024x1536",
|
||||
})
|
||||
.map(|resolution| resolution.to_string());
|
||||
|
||||
let background = args.background
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5EditImageBackground::Auto => "auto",
|
||||
EnqueueGptImage1p5EditImageBackground::Transparent => "transparent",
|
||||
EnqueueGptImage1p5EditImageBackground::Opaque => "opaque",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string());
|
||||
|
||||
let quality = args.quality
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5EditImageQuality::Low => "low",
|
||||
EnqueueGptImage1p5EditImageQuality::Medium => "medium",
|
||||
EnqueueGptImage1p5EditImageQuality::High => "high",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string());
|
||||
|
||||
let input_fidelity = args.input_fidelity
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5EditImageInputFidelity::Low => "low",
|
||||
EnqueueGptImage1p5EditImageInputFidelity::High => "high",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string());
|
||||
|
||||
let output_format = args.output_format
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5EditImageOutputFormat::Jpeg => "jpeg",
|
||||
EnqueueGptImage1p5EditImageOutputFormat::Png => "png",
|
||||
EnqueueGptImage1p5EditImageOutputFormat::Webp => "webp",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string())
|
||||
.unwrap_or_else(|| "png".to_string());
|
||||
|
||||
let request = GptImage1p5ImageEditInput {
|
||||
prompt: args.prompt.to_string(),
|
||||
image_urls: args.image_urls,
|
||||
num_images: Some(num_images),
|
||||
output_format: Some(output_format),
|
||||
// Optionals
|
||||
mask_image_url: args.mask_image_url,
|
||||
image_size,
|
||||
background,
|
||||
quality,
|
||||
input_fidelity,
|
||||
};
|
||||
|
||||
let result = gpt_image_1p5_image_edit(request)
|
||||
.with_api_key(&args.api_key.0)
|
||||
.queue_webhook(args.webhook_url)
|
||||
.await;
|
||||
|
||||
result.map_err(|err| classify_fal_error(err))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::creds::fal_api_key::FalApiKey;
|
||||
use crate::requests::webhook::image::edit::enqueue_gpt_image_1p5_edit_image_webhook::{enqueue_gpt_image_1p5_image_edit_webhook, EnqueueGptImage1p5EditImageArgs, EnqueueGptImage1p5EditImageNumImages};
|
||||
use errors::AnyhowResult;
|
||||
use std::fs::read_to_string;
|
||||
use test_data::web::image_urls::{ERNEST_SCARED_STUPID_IMAGE_URL, GHOST_IMAGE_URL, TREX_SKELETON_IMAGE_URL};
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn test() -> AnyhowResult<()> {
|
||||
// XXX: Don't commit secrets!
|
||||
let secret = read_to_string("/Users/bt/Artcraft/credentials/fal_api_key.txt")?;
|
||||
|
||||
let api_key = FalApiKey::from_str(&secret);
|
||||
|
||||
let args = EnqueueGptImage1p5EditImageArgs {
|
||||
image_urls: vec![
|
||||
GHOST_IMAGE_URL.to_string(),
|
||||
TREX_SKELETON_IMAGE_URL.to_string(),
|
||||
ERNEST_SCARED_STUPID_IMAGE_URL.to_string(),
|
||||
],
|
||||
prompt: "add the ghost and scared man to the image of the t-rex skeleton, make it look spooky but friendly",
|
||||
num_images: EnqueueGptImage1p5EditImageNumImages::Two,
|
||||
mask_image_url: None,
|
||||
image_size: None,
|
||||
background: None,
|
||||
quality: None,
|
||||
input_fidelity: None,
|
||||
api_key: &api_key,
|
||||
webhook_url: "https://example.com/webhook",
|
||||
output_format: None,
|
||||
};
|
||||
|
||||
let result = enqueue_gpt_image_1p5_image_edit_webhook(args).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ pub mod enqueue_bytedance_seedream_v4p5_edit_image_webhook;
|
||||
pub mod enqueue_flux_pro_kontext_max_edit_webhook;
|
||||
pub mod enqueue_gemini_25_flash_edit_webhook;
|
||||
pub mod enqueue_gpt_image_1_edit_image_webhook;
|
||||
pub mod enqueue_gpt_image_1p5_edit_image_webhook;
|
||||
pub mod enqueue_nano_banana_pro_edit_image_webhook;
|
||||
pub mod enqueue_qwen_image_edit_webhook;
|
||||
pub mod enqueue_seededit_v3_edit_webhook;
|
||||
+164
@@ -0,0 +1,164 @@
|
||||
use crate::creds::fal_api_key::FalApiKey;
|
||||
use crate::error::classify_fal_error::classify_fal_error;
|
||||
use crate::error::fal_error_plus::FalErrorPlus;
|
||||
use fal::endpoints::fal_ai::gpt_image::gpt_image_1p5_text_to_image::{gpt_image_1p5_text_to_image, GptImage1p5TextToImageInput};
|
||||
use fal::webhook::WebhookResponse;
|
||||
use reqwest::IntoUrl;
|
||||
|
||||
pub struct EnqueueGptImage1p5TextToImageArgs<'a, R: IntoUrl> {
|
||||
// Request required
|
||||
pub prompt: &'a str,
|
||||
pub num_images: EnqueueGptImage1p5TextToImageNumImages,
|
||||
|
||||
// Optional args
|
||||
pub image_size: Option<EnqueueGptImage1p5TextToImageSize>,
|
||||
pub background: Option<EnqueueGptImage1p5TextToImageBackground>,
|
||||
pub quality: Option<EnqueueGptImage1p5TextToImageQuality>,
|
||||
pub output_format: Option<EnqueueGptImage1p5TextToImageOutputFormat>,
|
||||
|
||||
// Fulfillment
|
||||
pub webhook_url: R,
|
||||
pub api_key: &'a FalApiKey,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5TextToImageNumImages {
|
||||
One,
|
||||
Two,
|
||||
Three,
|
||||
Four,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5TextToImageSize {
|
||||
/// 1024x1024
|
||||
Square,
|
||||
/// 1536x1024
|
||||
Wide,
|
||||
/// 1024x1536
|
||||
Tall,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5TextToImageBackground {
|
||||
Auto,
|
||||
Transparent,
|
||||
Opaque,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5TextToImageQuality {
|
||||
Low,
|
||||
Medium,
|
||||
High,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub enum EnqueueGptImage1p5TextToImageOutputFormat {
|
||||
Jpeg,
|
||||
Png,
|
||||
Webp,
|
||||
}
|
||||
|
||||
|
||||
pub async fn enqueue_gpt_image_1p5_text_to_image_webhook<R: IntoUrl>(
|
||||
args: EnqueueGptImage1p5TextToImageArgs<'_, R>
|
||||
) -> Result<WebhookResponse, FalErrorPlus> {
|
||||
|
||||
|
||||
let num_images = match args.num_images {
|
||||
EnqueueGptImage1p5TextToImageNumImages::One => 1,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Two => 2,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Three => 3,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Four => 4,
|
||||
};
|
||||
|
||||
let image_size = args.image_size
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5TextToImageSize::Square => "1024x1024",
|
||||
EnqueueGptImage1p5TextToImageSize::Wide => "1536x1024",
|
||||
EnqueueGptImage1p5TextToImageSize::Tall => "1024x1536",
|
||||
})
|
||||
.map(|resolution| resolution.to_string());
|
||||
|
||||
let background = args.background
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5TextToImageBackground::Auto => "auto",
|
||||
EnqueueGptImage1p5TextToImageBackground::Transparent => "transparent",
|
||||
EnqueueGptImage1p5TextToImageBackground::Opaque => "opaque",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string());
|
||||
|
||||
let quality = args.quality
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5TextToImageQuality::Low => "low",
|
||||
EnqueueGptImage1p5TextToImageQuality::Medium => "medium",
|
||||
EnqueueGptImage1p5TextToImageQuality::High => "high",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string());
|
||||
|
||||
let output_format = args.output_format
|
||||
.map(|s| match s {
|
||||
EnqueueGptImage1p5TextToImageOutputFormat::Jpeg => "jpeg",
|
||||
EnqueueGptImage1p5TextToImageOutputFormat::Png => "png",
|
||||
EnqueueGptImage1p5TextToImageOutputFormat::Webp => "webp",
|
||||
})
|
||||
.map(|aspect_ratio| aspect_ratio.to_string())
|
||||
.unwrap_or_else(|| "png".to_string());
|
||||
|
||||
let num_images = match args.num_images {
|
||||
EnqueueGptImage1p5TextToImageNumImages::One => 1,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Two => 2,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Three => 3,
|
||||
EnqueueGptImage1p5TextToImageNumImages::Four => 4,
|
||||
};
|
||||
|
||||
let request = GptImage1p5TextToImageInput {
|
||||
prompt: args.prompt.to_string(),
|
||||
num_images: Some(num_images),
|
||||
output_format: Some(output_format),
|
||||
// Optionals
|
||||
image_size,
|
||||
background,
|
||||
quality,
|
||||
};
|
||||
|
||||
let result = gpt_image_1p5_text_to_image(request)
|
||||
.with_api_key(&args.api_key.0)
|
||||
.queue_webhook(args.webhook_url)
|
||||
.await;
|
||||
|
||||
result.map_err(|err| classify_fal_error(err))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::creds::fal_api_key::FalApiKey;
|
||||
use crate::requests::webhook::image::text::enqueue_gpt_image_1p5_text_to_image_webhook::{enqueue_gpt_image_1p5_text_to_image_webhook, EnqueueGptImage1p5TextToImageArgs, EnqueueGptImage1p5TextToImageNumImages};
|
||||
use errors::AnyhowResult;
|
||||
use std::fs::read_to_string;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
async fn test() -> AnyhowResult<()> {
|
||||
// XXX: Don't commit secrets!
|
||||
let secret = read_to_string("/Users/bt/Artcraft/credentials/fal_api_key.txt")?;
|
||||
|
||||
let api_key = FalApiKey::from_str(&secret);
|
||||
|
||||
let args = EnqueueGptImage1p5TextToImageArgs {
|
||||
prompt: "an anime girl riding on the back of a t-rex",
|
||||
num_images: EnqueueGptImage1p5TextToImageNumImages::Two,
|
||||
image_size: None,
|
||||
background: None,
|
||||
quality: None,
|
||||
api_key: &api_key,
|
||||
webhook_url: "https://example.com/webhook",
|
||||
output_format: None,
|
||||
};
|
||||
|
||||
let result = enqueue_gpt_image_1p5_text_to_image_webhook(args).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
pub mod enqueue_bytedance_seedream_v4_text_to_image_webhook;
|
||||
pub mod enqueue_bytedance_seedream_v4p5_text_to_image_webhook;
|
||||
pub mod enqueue_nano_banana_pro_text_to_image_webhook;
|
||||
pub mod enqueue_nano_banana_pro_text_to_image_webhook;
|
||||
pub mod enqueue_gpt_image_1p5_text_to_image_webhook;
|
||||
@@ -0,0 +1,55 @@
|
||||
[package]
|
||||
name = "world_labs_client"
|
||||
edition = "2024"
|
||||
version = "0.0.1"
|
||||
publish = false
|
||||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = ["workspace-build-acceleration"]
|
||||
|
||||
[lib]
|
||||
name = "world_labs_client"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
# Workspace hack (faster compile times)
|
||||
workspace-build-acceleration.workspace = true
|
||||
|
||||
# Internal
|
||||
cloudflare_errors.workspace = true
|
||||
cloudflare_mitigation.workspace = true
|
||||
cookie_store.workspace = true
|
||||
errors.workspace = true
|
||||
filesys.workspace = true
|
||||
http_headers.workspace = true
|
||||
jwt_light.workspace = true
|
||||
|
||||
# External
|
||||
anyhow.workspace = true
|
||||
base64.workspace = true
|
||||
bstr.workspace = true
|
||||
byteorder = "1.5.0"
|
||||
chrono.workspace = true
|
||||
futures.workspace = true
|
||||
indexmap.workspace = true
|
||||
log.workspace = true
|
||||
once_cell.workspace = true
|
||||
regex.workspace = true
|
||||
scraper = "0.24.0"
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
sha2.workspace = true
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
url.workspace = true
|
||||
uuid.workspace = true
|
||||
wreq-util.workspace = true
|
||||
wreq.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
filesys.workspace = true
|
||||
test_data.workspace = true
|
||||
testing.workspace = true
|
||||
log4rs = "1.4.0"
|
||||
env_logger.workspace = true
|
||||
env.workspace = true
|
||||
chrono.workspace = true
|
||||
@@ -0,0 +1,26 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// Type for Image Input Object Ids
|
||||
/// These are used to refer to worlds
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ImageInputObjectId(pub String);
|
||||
|
||||
impl ImageInputObjectId {
|
||||
pub fn generate_new() -> Self {
|
||||
let uuid = Uuid::new_v4().to_string();
|
||||
Self(uuid)
|
||||
}
|
||||
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
Self(s.to_string())
|
||||
}
|
||||
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// Type for "meta" World IDs (not sure what to term this).
|
||||
/// These are in the first run patch request
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct MetaWorldObjectId(pub String);
|
||||
|
||||
impl MetaWorldObjectId {
|
||||
pub fn generate_new() -> Self {
|
||||
let uuid = Uuid::new_v4().to_string();
|
||||
Self(uuid)
|
||||
}
|
||||
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
Self(s.to_string())
|
||||
}
|
||||
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
pub mod image_input_object_id;
|
||||
pub mod meta_world_object_id;
|
||||
pub mod pano_object_id;
|
||||
pub mod run_object;
|
||||
pub mod run_object_id;
|
||||
pub mod upload_mime_type;
|
||||
pub mod upload_object_id;
|
||||
pub mod world_id;
|
||||
@@ -0,0 +1,26 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// Type for Pano Object Ids
|
||||
/// These are used to refer to worlds
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct PanoObjectId(pub String);
|
||||
|
||||
impl PanoObjectId {
|
||||
pub fn generate_new() -> Self {
|
||||
let uuid = Uuid::new_v4().to_string();
|
||||
Self(uuid)
|
||||
}
|
||||
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
Self(s.to_string())
|
||||
}
|
||||
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
use std::collections::HashMap;
|
||||
use chrono::Utc;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
|
||||
const RUN_MIME_TYPE: &str = "application/run+json";
|
||||
|
||||
const RUN_VERSION : &str = "0.0.1";
|
||||
|
||||
/// World Labs' API is very frontend driven
|
||||
/// They send whole objects back to the frontend that the frontend is in charge of mutatingbjects or PATCH them back to the server (yuck):
|
||||
/// - request #1 - create run
|
||||
/// - request #6 - patch run after image upload
|
||||
/// Gotta go fast?
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct RunObject {
|
||||
/// The primary ID of the run.
|
||||
/// This won't exist until we post it to the server.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub id: Option<String>,
|
||||
|
||||
pub metadata: RunObjectMetadata,
|
||||
pub mime_type: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct RunObjectMetadata {
|
||||
pub version: String,
|
||||
|
||||
#[serde(rename = "createdAt")]
|
||||
pub created_at: u64,
|
||||
|
||||
#[serde(rename = "updatedAt")]
|
||||
pub updated_at: u64,
|
||||
|
||||
#[serde(rename = "usesAdvancedEditing")]
|
||||
pub uses_advanced_editing: bool,
|
||||
|
||||
#[serde(rename = "draftMode")]
|
||||
pub draft_mode: bool,
|
||||
|
||||
/// Polymorphic set of ID-to-object mappings.
|
||||
pub nodes: HashMap<String, Value>,
|
||||
}
|
||||
|
||||
impl Default for RunObject {
|
||||
fn default() -> Self {
|
||||
let now = Utc::now();
|
||||
let now = now.timestamp().unsigned_abs() * 1000; // Millisecond resolution
|
||||
Self {
|
||||
id: None,
|
||||
metadata: RunObjectMetadata{
|
||||
version: RUN_VERSION.to_string(),
|
||||
created_at: now,
|
||||
updated_at: now,
|
||||
uses_advanced_editing: false,
|
||||
draft_mode: false,
|
||||
nodes: HashMap::new(),
|
||||
},
|
||||
mime_type: RUN_MIME_TYPE.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::api::api_types::run_object::RunObject;
|
||||
|
||||
#[test]
|
||||
fn default_runobject() {
|
||||
let object = RunObject::default();
|
||||
assert!(object.id.is_none());
|
||||
assert_eq!(&object.metadata.version, "0.0.1");
|
||||
assert!(object.metadata.created_at > 1705433415549);
|
||||
assert!(object.metadata.updated_at > 1705433415549);
|
||||
assert_eq!(&object.mime_type, "application/run+json");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/// Type for Object IDs.
|
||||
/// These are used to create inference runs and refer to the result
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct RunObjectId(pub String);
|
||||
|
||||
impl RunObjectId {
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
Self(s.to_string())
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Serialize)]
|
||||
pub enum UploadMimeType {
|
||||
#[serde(rename = "image/jpeg")]
|
||||
ImageJpeg,
|
||||
}
|
||||
|
||||
impl UploadMimeType {
|
||||
pub fn content_type(&self) -> &'static str {
|
||||
match self {
|
||||
Self::ImageJpeg => "image/jpeg",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn extension_without_period(&self) -> &'static str {
|
||||
match self {
|
||||
Self::ImageJpeg => "jpeg",
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/// Type for Upload IDs.
|
||||
/// These are used to upload images.
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct UploadObjectId(pub String);
|
||||
|
||||
impl UploadObjectId {
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
/// Type for World IDs.
|
||||
/// These are used to refer to worlds
|
||||
/// These appear to be bare UUIDs.
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct WorldObjectId(pub String);
|
||||
|
||||
impl WorldObjectId {
|
||||
pub fn new() -> Self {
|
||||
let uuid = Uuid::new_v4().to_string();
|
||||
Self(uuid)
|
||||
}
|
||||
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
Self(s.to_string())
|
||||
}
|
||||
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.0.clone()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
/// Referer header value
|
||||
pub(crate) const REFERER_VALUE: &str = "https://marble.worldlabs.ai/";
|
||||
|
||||
/// Origin header value
|
||||
pub(crate) const ORIGIN_VALUE: &str = "https://marble.worldlabs.ai/";
|
||||
@@ -0,0 +1 @@
|
||||
pub (crate) mod common_header_values;
|
||||
@@ -0,0 +1,5 @@
|
||||
pub mod api_types;
|
||||
pub mod requests;
|
||||
|
||||
pub (crate) mod common;
|
||||
pub mod utils;
|
||||
@@ -0,0 +1,10 @@
|
||||
Free accounts start with 7,000 credits
|
||||
|
||||
This supports "up to 4 world generations" according to the pricing page.
|
||||
|
||||
After one gen, credits are at 5,420. (Used 1580 credits.)
|
||||
|
||||
request_flow_4 - chromium on linux, private browsing
|
||||
|
||||
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-811b3fc3ecdaaff5-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw '{"metadata":{"version":"0.0.1","createdAt":1765323283075,"updatedAt":1765323283075,"useAdvancedEditing":false,"draftMode":false,"nodes":{}},"mime_type":"application/run+json"}'
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "10ad82a1-5f61-447f-b162-e3da0ef3e5b5",
|
||||
"display_name": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765323283,
|
||||
"updated_at": 1765323283,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765323283075,
|
||||
"updatedAt": 1765323283075,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-b9e78b9b380dd719-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw '{"display_name":"uploaded_image_1ed9f547-5527-48d3-b5df-aab476532317.jpeg","mime_type":"image/jpeg"}'
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "25ddd6ab-931c-480b-a817-cfbb562da980",
|
||||
"display_name": "uploaded_image_1ed9f547-5527-48d3-b5df-aab476532317.jpeg",
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765323283,
|
||||
"updated_at": 1765323283,
|
||||
"object_uri": null,
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/recaption2' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-a84e4b29068074a0-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw '{"world_prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/25ddd6ab-931c-480b-a817-cfbb562da980/asset.jpg"},"text_prompt":""},"user_caption":"","context":{"run_id":"10ad82a1-5f61-447f-b162-e3da0ef3e5b5"}}'
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"caption": "The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene's desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. ",
|
||||
"title": "Moonlit Graveyard Vigil"
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-aae165f4896b6b44-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw $'{"permission":{"public":true},"generation_input":{"model":"Marble 0.1-plus","prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/25ddd6ab-931c-480b-a817-cfbb562da980/asset.jpg"},"text_prompt":"The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene\'s desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. "}},"context":{"run_id":"10ad82a1-5f61-447f-b162-e3da0ef3e5b5"}}'
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"context": {
|
||||
"run_id": "10ad82a1-5f61-447f-b162-e3da0ef3e5b5",
|
||||
"project_id": null
|
||||
},
|
||||
"id": "323bfcc0-086a-4822-acc5-b38b4ddc624d",
|
||||
"display_name": null,
|
||||
"status": "INITIALIZING",
|
||||
"error": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"created_at": 1765323290,
|
||||
"updated_at": 1765323290,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": null,
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene's desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": "png"
|
||||
},
|
||||
"is_pano": null
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": null
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/323bfcc0-086a-4822-acc5-b38b4ddc624d' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-89ca6b5ba7e2d026-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "323bfcc0-086a-4822-acc5-b38b4ddc624d",
|
||||
"display_name": null,
|
||||
"status": "INITIALIZING",
|
||||
"error": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"created_at": 1765323290,
|
||||
"updated_at": 1765323290,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": {
|
||||
"owner_username": "victorv",
|
||||
"owner_display_name": "Victor Voice",
|
||||
"reactions": null,
|
||||
"pinned": false
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene's desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": null
|
||||
},
|
||||
"is_pano": false
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": null
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/323bfcc0-086a-4822-acc5-b38b4ddc624d' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-85cd442793fc9124-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "323bfcc0-086a-4822-acc5-b38b4ddc624d",
|
||||
"display_name": null,
|
||||
"status": "SUCCEEDED",
|
||||
"error": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"created_at": 1765323290,
|
||||
"updated_at": 1765323554,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": {
|
||||
"owner_username": "victorv",
|
||||
"owner_display_name": "Victor Voice",
|
||||
"reactions": null,
|
||||
"pinned": false
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene's desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": null
|
||||
},
|
||||
"is_pano": false
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": {
|
||||
"ply_url": null,
|
||||
"wlg_url": null,
|
||||
"cond_image_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png",
|
||||
"mpi_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/17b7b9f7-1448-4e03-a244-ac51b87bc1a2_dust_mpi",
|
||||
"minimap_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/4e373e4c-b7c2-4122-aa7f-a27cf6377f8d_minimap.png",
|
||||
"minimap_metadata": "[0.0, 1.486802339553833, 13.666599082946778]",
|
||||
"spz_urls": {
|
||||
"500k": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/514bcf69-1f9e-4fa1-ba82-5e3eacd3aa0e_ceramic_500k.spz",
|
||||
"full_res": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/7a169623-8993-448d-b0c4-a9780287d0ce_ceramic.spz",
|
||||
"100k": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/044f6002-c5d9-4064-a690-1ff1a6bb40e2_dust_100k.spz"
|
||||
},
|
||||
"skypano_url": null,
|
||||
"posed_cond_image": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/d42c648a-37a0-4b50-aa53-15210783dd23_cond_image",
|
||||
"collider_mesh_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/bab46ac0.glb",
|
||||
"hq_mesh_url": null,
|
||||
"full_res_mesh_url": null,
|
||||
"posed_cubemaps_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/84fb4783-e74f-4676-b825-84834a349437_cubemaps",
|
||||
"posed_panos_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/d51d9ddd-bf33-4ce6-a1e0-b35bacde335b_panos",
|
||||
"panos_metadata": null
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/10ad82a1-5f61-447f-b162-e3da0ef3e5b5' \
|
||||
-X 'PATCH' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=f6a6fcf2cd474d488082c00a8f915ab6,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.8715408597022593,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: f6a6fcf2cd474d488082c00a8f915ab6-b96d44935a8cf5a1-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw $'{"object":{"metadata":{"version":"0.0.1","name":"Moonlit Graveyard Vigil","createdAt":1765323283075,"updatedAt":1765323555619,"useAdvancedEditing":false,"draftMode":false,"nodes":{"5046e0da-ce2c-428f-a5d8-3b99143d4ce3":{"id":"5046e0da-ce2c-428f-a5d8-3b99143d4ce3","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/25ddd6ab-931c-480b-a817-cfbb562da980/asset.jpg"},"createdAt":1765323289174,"title":"Moonlit Graveyard Vigil","caption":"The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene\'s desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. "},"e132bc85-ecf1-4126-b466-f8c281ebaabf":{"id":"e132bc85-ecf1-4126-b466-f8c281ebaabf","type":"pano","parentId":"5046e0da-ce2c-428f-a5d8-3b99143d4ce3","source":{"type":"generate_world","url":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/d51d9ddd-bf33-4ce6-a1e0-b35bacde335b_panos/rgb_0.png","world_id":"323bfcc0-086a-4822-acc5-b38b4ddc624d","status":"complete"},"createdAt":1765323290361},"5d90764a-7356-4c0c-b819-8c6fbdfa4300":{"id":"5d90764a-7356-4c0c-b819-8c6fbdfa4300","type":"world","parentId":"e132bc85-ecf1-4126-b466-f8c281ebaabf","source":{"type":"generate_world","world_id":"323bfcc0-086a-4822-acc5-b38b4ddc624d","spz_urls":{"500k":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/514bcf69-1f9e-4fa1-ba82-5e3eacd3aa0e_ceramic_500k.spz","full_res":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/7a169623-8993-448d-b0c4-a9780287d0ce_ceramic.spz","100k":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/044f6002-c5d9-4064-a690-1ff1a6bb40e2_dust_100k.spz"},"posed_cubemaps_url":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/84fb4783-e74f-4676-b825-84834a349437_cubemaps","minimap_url":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/4e373e4c-b7c2-4122-aa7f-a27cf6377f8d_minimap.png","minimap_metadata":"[0.0, 1.486802339553833, 13.666599082946778]","status":"complete","mpi_url":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/17b7b9f7-1448-4e03-a244-ac51b87bc1a2_dust_mpi","cond_image_url":"https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png"},"createdAt":1765323290361}}}},"update_mask":["metadata"]}'
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "10ad82a1-5f61-447f-b162-e3da0ef3e5b5",
|
||||
"display_name": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765323283,
|
||||
"updated_at": 1765323555,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"name": "Moonlit Graveyard Vigil",
|
||||
"createdAt": 1765323283075,
|
||||
"updatedAt": 1765323555619,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"5046e0da-ce2c-428f-a5d8-3b99143d4ce3": {
|
||||
"id": "5046e0da-ce2c-428f-a5d8-3b99143d4ce3",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/25ddd6ab-931c-480b-a817-cfbb562da980/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765323289174,
|
||||
"title": "Moonlit Graveyard Vigil",
|
||||
"caption": "The scene is a somber and gothic graveyard at night, captured in a realistic, almost cinematic style, evoking a mood of quiet contemplation and melancholy. Numerous headstones and crypts of varying sizes and designs emerge from the overgrown grass, their weathered surfaces suggesting a long history. Tall, dark trees with skeletal branches stand against the cloudy night sky, their leaves barely visible, enhancing the scene's desolate atmosphere. A full, luminous moon hangs high in the sky, casting soft, ethereal light over the entire graveyard, illuminating the intricate carvings on some of the older monuments and the subtle textures of the ground. The ground itself is a mix of patchy grass and fallen leaves, indicating a neglected or aged burial ground, with small, indistinct flora growing in scattered clusters. Pathways, possibly made of worn earth or gravel, wind between the graves, though they are largely obscured by the low light and foliage. A low, stone wall or barrier might enclose the graveyard on one side, separating it from an unseen, silent world beyond. The moon remains a singular, dominant light source, creating long, soft shadows that stretch across the uneven terrain of the cemetery. "
|
||||
},
|
||||
"e132bc85-ecf1-4126-b466-f8c281ebaabf": {
|
||||
"id": "e132bc85-ecf1-4126-b466-f8c281ebaabf",
|
||||
"type": "pano",
|
||||
"parentId": "5046e0da-ce2c-428f-a5d8-3b99143d4ce3",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/d51d9ddd-bf33-4ce6-a1e0-b35bacde335b_panos/rgb_0.png",
|
||||
"world_id": "323bfcc0-086a-4822-acc5-b38b4ddc624d",
|
||||
"status": "complete"
|
||||
},
|
||||
"createdAt": 1765323290361
|
||||
},
|
||||
"5d90764a-7356-4c0c-b819-8c6fbdfa4300": {
|
||||
"id": "5d90764a-7356-4c0c-b819-8c6fbdfa4300",
|
||||
"type": "world",
|
||||
"parentId": "e132bc85-ecf1-4126-b466-f8c281ebaabf",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "323bfcc0-086a-4822-acc5-b38b4ddc624d",
|
||||
"spz_urls": {
|
||||
"500k": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/514bcf69-1f9e-4fa1-ba82-5e3eacd3aa0e_ceramic_500k.spz",
|
||||
"full_res": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/7a169623-8993-448d-b0c4-a9780287d0ce_ceramic.spz",
|
||||
"100k": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/044f6002-c5d9-4064-a690-1ff1a6bb40e2_dust_100k.spz"
|
||||
},
|
||||
"posed_cubemaps_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/84fb4783-e74f-4676-b825-84834a349437_cubemaps",
|
||||
"minimap_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/4e373e4c-b7c2-4122-aa7f-a27cf6377f8d_minimap.png",
|
||||
"minimap_metadata": "[0.0, 1.486802339553833, 13.666599082946778]",
|
||||
"status": "complete",
|
||||
"mpi_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/17b7b9f7-1448-4e03-a244-ac51b87bc1a2_dust_mpi",
|
||||
"cond_image_url": "https://cdn.marble.worldlabs.ai/323bfcc0-086a-4822-acc5-b38b4ddc624d/307390d3_image_prompt_sanitized.png"
|
||||
},
|
||||
"createdAt": 1765323290361
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyMDg0MiwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzIwODQyLCJleHAiOjE3NjUzMjQ0NDIsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.SHy8_FpsekZ3LvRdwfDMqW1BDdBHVfJO78x0xtJuIhsKKrUCD88eb256MsAKFb_ak6mujk7GjzajUtkcV-JiZhxElzQ_lu1kQiOoSWcnmuXe8Pm1trx-NN1DUGLbVj2CopdmsRmX2Fs_hFgXd4KhGmcaiqKxEVKZGoq2vB4Bs2kvIjA7u3bqAdS75BsJ5kaxvvIrqY7WjmpVb2LWr6uZIaSZa2BFZi_CAs8rGFV7cO9zg3xGD8MKwG6DmJbopYrtHHECxHbYCe1f-HS5eXCN_tJFIq7CHV9RSyv3KkT5Da9yOIeDP8YBATxTLNWqdkq3h-mXmkFvgL7-n49-aqcIgA' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-4c2ae3c,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=3ea3cefa133447398d3d1b50923b158e,sentry-org_id=4509005975388160,sentry-replay_id=7da3fa2dd40d412fbc41559247f02342,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.5897258369230949,sentry-sample_rate=1' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Not_A Brand";v="99", "Chromium";v="142"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "Linux"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'sentry-trace: 3ea3cefa133447398d3d1b50923b158e-a2647f414a7b9652-1' \
|
||||
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' \
|
||||
--data-raw '{"metadata":{"version":"0.0.1","createdAt":1765324283470,"updatedAt":1765324283470,"useAdvancedEditing":false,"draftMode":false,"nodes":{}},"mime_type":"application/run+json"}'
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/3e8d210f-28ea-4375-92d8-3ee6f14db61d' \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers'
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"context":null,"id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","display_name":null,"status":"INITIALIZING","error":null,"owner_id":"sVgAQDyH3BfYOBfF6epWTjLHygX2","created_at":1765325564,"updated_at":1765325564,"permission":{"public":true,"allowed_readers":[],"allowed_writers":[]},"stats":null,"application_data":{"owner_username":"victorv","owner_display_name":"Victor Voice","reactions":null,"pinned":false},"generation_input":{"model":"Marble 0.1-plus","seed":null,"prompt":{"type":"image","text_prompt":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. ","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png","data_base64":null,"extension":null},"is_pano":false}},"tags":null,"hq_mesh_export_op_id":null,"generation_output":null}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=0' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"metadata":{"version":"0.0.1","createdAt":1765325556528,"updatedAt":1765325556528,"useAdvancedEditing":false,"draftMode":false,"nodes":{}},"mime_type":"application/run+json"}'
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765325556528,
|
||||
"updatedAt": 1765325556528,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
},
|
||||
"mime_type": "application/run+json"
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "a37a82a4-0b39-47e1-acf9-07a65888d5be",
|
||||
"display_name": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765325556,
|
||||
"updated_at": 1765325556,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765325556528,
|
||||
"updatedAt": 1765325556528,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
}
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"display_name":"uploaded_image_7e2fb65f-819a-486b-9609-f782ad4d244f.jpeg","mime_type":"image/jpeg"}'
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"display_name": "uploaded_image_7e2fb65f-819a-486b-9609-f782ad4d244f.jpeg",
|
||||
"mime_type": "image/jpeg"
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "cf326bd0-b7eb-454c-b433-54f36eb4d5a6",
|
||||
"display_name": "uploaded_image_7e2fb65f-819a-486b-9609-f782ad4d244f.jpeg",
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765325556,
|
||||
"updated_at": 1765325556,
|
||||
"object_uri": null,
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/3e8d210f-28ea-4375-92d8-3ee6f14db61d' \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers'
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"context":null,"id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","display_name":null,"status":"SUCCEEDED","error":null,"owner_id":"sVgAQDyH3BfYOBfF6epWTjLHygX2","created_at":1765325564,"updated_at":1765325831,"permission":{"public":true,"allowed_readers":[],"allowed_writers":[]},"stats":null,"application_data":{"owner_username":"victorv","owner_display_name":"Victor Voice","reactions":null,"pinned":false},"generation_input":{"model":"Marble 0.1-plus","seed":null,"prompt":{"type":"image","text_prompt":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. ","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png","data_base64":null,"extension":null},"is_pano":false}},"tags":null,"hq_mesh_export_op_id":null,"generation_output":{"ply_url":null,"wlg_url":null,"cond_image_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png","mpi_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/942b0d8e-2f83-413a-a0a0-98693d719be9_dust_mpi","minimap_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/b110166c-31b6-463d-a6bc-ca383343bb78_minimap.png","minimap_metadata":"[-1.6852229833602905, 1.5322132110595703, 14.28858642578125]","spz_urls":{"500k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/dcfef0e9-cad9-481b-888e-c0cd6a6cd897_ceramic_500k.spz","full_res":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/f86b7139-412c-49b8-9c8c-e0c7363ec5d2_ceramic.spz","100k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/6a63455b-1534-483a-a433-c33f8341acbf_dust_100k.spz"},"skypano_url":null,"posed_cond_image":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/4e0a67f9-9d13-465b-8c04-2d69681315ae_cond_image","collider_mesh_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/ff0e4ac5.glb","hq_mesh_url":null,"full_res_mesh_url":null,"posed_cubemaps_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/1b6d0eff-bb70-4a85-a9c3-7c115a9ddc76_cubemaps","posed_panos_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/9b7df6b9-cf45-46a1-b131-0b0f07d9ffd0_panos","panos_metadata":null}}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/a37a82a4-0b39-47e1-acf9-07a65888d5be' \
|
||||
-X PATCH \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw $'{"object":{"metadata":{"version":"0.0.1","name":"Cozy A-frame Cabin Retreat","createdAt":1765325556528,"updatedAt":1765325836734,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bcb8d155-0117-4d20-85cf-aa76627996e8":{"id":"bcb8d155-0117-4d20-85cf-aa76627996e8","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"},"createdAt":1765325562986,"title":"Cozy A-frame Cabin Retreat","caption":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin\'s rustic functionality. "},"b62ec969-b045-4f4e-8926-5f4c2f067b60":{"id":"b62ec969-b045-4f4e-8926-5f4c2f067b60","type":"pano","parentId":"bcb8d155-0117-4d20-85cf-aa76627996e8","source":{"type":"generate_world","url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/9b7df6b9-cf45-46a1-b131-0b0f07d9ffd0_panos/rgb_0.png","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","status":"complete"},"createdAt":1765325565022},"42bf7afb-bf2f-434e-b5a3-573b48ac849a":{"id":"42bf7afb-bf2f-434e-b5a3-573b48ac849a","type":"world","parentId":"b62ec969-b045-4f4e-8926-5f4c2f067b60","source":{"type":"generate_world","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","spz_urls":{"500k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/dcfef0e9-cad9-481b-888e-c0cd6a6cd897_ceramic_500k.spz","full_res":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/f86b7139-412c-49b8-9c8c-e0c7363ec5d2_ceramic.spz","100k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/6a63455b-1534-483a-a433-c33f8341acbf_dust_100k.spz"},"posed_cubemaps_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/1b6d0eff-bb70-4a85-a9c3-7c115a9ddc76_cubemaps","minimap_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/b110166c-31b6-463d-a6bc-ca383343bb78_minimap.png","minimap_metadata":"[-1.6852229833602905, 1.5322132110595703, 14.28858642578125]","status":"complete","mpi_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/942b0d8e-2f83-413a-a0a0-98693d719be9_dust_mpi","cond_image_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png"},"createdAt":1765325565022}}}},"update_mask":["metadata"]}'
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"context":null,"id":"a37a82a4-0b39-47e1-acf9-07a65888d5be","display_name":null,"owner_id":"sVgAQDyH3BfYOBfF6epWTjLHygX2","status":"CREATED","created_at":1765325556,"updated_at":1765325836,"object_uri":null,"mime_type":"application/run+json","metadata":{"version":"0.0.1","name":"Cozy A-frame Cabin Retreat","createdAt":1765325556528,"updatedAt":1765325836734,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bcb8d155-0117-4d20-85cf-aa76627996e8":{"id":"bcb8d155-0117-4d20-85cf-aa76627996e8","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"},"createdAt":1765325562986,"title":"Cozy A-frame Cabin Retreat","caption":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. "},"b62ec969-b045-4f4e-8926-5f4c2f067b60":{"id":"b62ec969-b045-4f4e-8926-5f4c2f067b60","type":"pano","parentId":"bcb8d155-0117-4d20-85cf-aa76627996e8","source":{"type":"generate_world","url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/9b7df6b9-cf45-46a1-b131-0b0f07d9ffd0_panos/rgb_0.png","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","status":"complete"},"createdAt":1765325565022},"42bf7afb-bf2f-434e-b5a3-573b48ac849a":{"id":"42bf7afb-bf2f-434e-b5a3-573b48ac849a","type":"world","parentId":"b62ec969-b045-4f4e-8926-5f4c2f067b60","source":{"type":"generate_world","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","spz_urls":{"500k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/dcfef0e9-cad9-481b-888e-c0cd6a6cd897_ceramic_500k.spz","full_res":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/f86b7139-412c-49b8-9c8c-e0c7363ec5d2_ceramic.spz","100k":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/6a63455b-1534-483a-a433-c33f8341acbf_dust_100k.spz"},"posed_cubemaps_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/1b6d0eff-bb70-4a85-a9c3-7c115a9ddc76_cubemaps","minimap_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/b110166c-31b6-463d-a6bc-ca383343bb78_minimap.png","minimap_metadata":"[-1.6852229833602905, 1.5322132110595703, 14.28858642578125]","status":"complete","mpi_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/942b0d8e-2f83-413a-a0a0-98693d719be9_dust_mpi","cond_image_url":"https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png"},"createdAt":1765325565022}}}}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/cf326bd0-b7eb-454c-b433-54f36eb4d5a6:upload' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'Content-Length: 0' \
|
||||
-H 'TE: trailers'
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"upload_id": "cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg",
|
||||
"upload_url": "https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251210%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251210T001237Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=338a4058e69f0f4d717e64ffbd9ac5609b63a67a43a9cb5027a65822edafee2dcf6769dafda8d82f812b0a009c53af77df6c8163e2d884bee2ab1a33ce63894e43f5faac07553528feadcc009f71f9b6195f6a2f73c1c3f8e5772a63d53c7c0ffc937d3c96b221cf760367bf435318f6c463b029d7879f26064acb5ab8e404d18a16b9263a0157b4edcfffe840b682a6e8198f342dcee51b928f235e1618aa98fdd7ee55bca8f27017738037b81b3041f12a72903c0decbc0d83b3fd39bb0edd3b750441bc21e9a226723876e4a52164b61659678e24f8af001451fa84a14c01b372d71cd55abaacd67e2b32df55f65a49f6ba0640b5239ab23b7eb45ad30d54",
|
||||
"required_headers": {
|
||||
"Content-Type": "image/jpeg",
|
||||
"x-goog-content-length-range": "0,1048576000"
|
||||
},
|
||||
"curl_example": "curl -X PUT -H 'Content-Type: image/jpeg' -H 'x-goog-content-length-range: 0,1048576000' --upload-file my-file 'https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251210%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251210T001237Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=338a4058e69f0f4d717e64ffbd9ac5609b63a67a43a9cb5027a65822edafee2dcf6769dafda8d82f812b0a009c53af77df6c8163e2d884bee2ab1a33ce63894e43f5faac07553528feadcc009f71f9b6195f6a2f73c1c3f8e5772a63d53c7c0ffc937d3c96b221cf760367bf435318f6c463b029d7879f26064acb5ab8e404d18a16b9263a0157b4edcfffe840b682a6e8198f342dcee51b928f235e1618aa98fdd7ee55bca8f27017738037b81b3041f12a72903c0decbc0d83b3fd39bb0edd3b750441bc21e9a226723876e4a52164b61659678e24f8af001451fa84a14c01b372d71cd55abaacd67e2b32df55f65a49f6ba0640b5239ab23b7eb45ad30d54'"
|
||||
}
|
||||
+20
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
(none)
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/cf326bd0-b7eb-454c-b433-54f36eb4d5a6:complete' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'Content-Length: 0' \
|
||||
-H 'TE: trailers'
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "cf326bd0-b7eb-454c-b433-54f36eb4d5a6",
|
||||
"display_name": "uploaded_image_7e2fb65f-819a-486b-9609-f782ad4d244f.jpeg",
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "READY",
|
||||
"created_at": 1765325556,
|
||||
"updated_at": 1765325558,
|
||||
"object_uri": "https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg",
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/recaption2' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"world_prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"},"text_prompt":""},"user_caption":"","context":{"run_id":"a37a82a4-0b39-47e1-acf9-07a65888d5be"}}'
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"world_prompt": {
|
||||
"type": "image",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"
|
||||
},
|
||||
"text_prompt": ""
|
||||
},
|
||||
"user_caption": "",
|
||||
"context": {
|
||||
"run_id": "a37a82a4-0b39-47e1-acf9-07a65888d5be"
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"caption": "The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. ",
|
||||
"title": "Cozy A-frame Cabin Retreat"
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw $'{"permission":{"public":true},"generation_input":{"model":"Marble 0.1-plus","prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"},"text_prompt":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin\'s rustic functionality. "}},"context":{"run_id":"a37a82a4-0b39-47e1-acf9-07a65888d5be"}}'
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"permission": {
|
||||
"public": true
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"
|
||||
},
|
||||
"text_prompt": "The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. "
|
||||
}
|
||||
},
|
||||
"context": {
|
||||
"run_id": "a37a82a4-0b39-47e1-acf9-07a65888d5be"
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"context": {
|
||||
"run_id": "a37a82a4-0b39-47e1-acf9-07a65888d5be",
|
||||
"project_id": null
|
||||
},
|
||||
"id": "3e8d210f-28ea-4375-92d8-3ee6f14db61d",
|
||||
"display_name": null,
|
||||
"status": "INITIALIZING",
|
||||
"error": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"created_at": 1765325564,
|
||||
"updated_at": 1765325564,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": null,
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin's rustic functionality. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/3e8d210f-28ea-4375-92d8-3ee6f14db61d/5c5474e3_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": "png"
|
||||
},
|
||||
"is_pano": null
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": null
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/a37a82a4-0b39-47e1-acf9-07a65888d5be' \
|
||||
-X PATCH \
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVmljdG9yIFZvaWNlIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0t3MGFhWEtZU3F5LVhra242OXlkSUpGR25KQTM3UzEzWHZqTlk0ZDl4Q3pVektVdz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTMyNTM3NCwidXNlcl9pZCI6InNWZ0FRRHlIM0JmWU9CZkY2ZXBXVGpMSHlnWDIiLCJzdWIiOiJzVmdBUUR5SDNCZllPQmZGNmVwV1RqTEh5Z1gyIiwiaWF0IjoxNzY1MzI1Mzc0LCJleHAiOjE3NjUzMjg5NzQsImVtYWlsIjoidmljdG9ydm9pY2U4OUBnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjExNjQ1OTMwMDE5ODYxOTg4ODgzNiJdLCJlbWFpbCI6WyJ2aWN0b3J2b2ljZTg5QGdtYWlsLmNvbSJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.U_mp4iAw14poJz11UFKg3QVO6TSfE8Gps6VqLhg4GLLumjilgnuyD8mnKFznRFX0R-OyBf8mugVk59zfy4BugeZ0cXRkm1FWHqR9BVJZ9BQoEobXw4RqHkUvtgSe2qnx8a4fLUVp5zxNPpXfEjLAdcG4YnNwdZ7-TxyCDvO3U_WHkG3aAJup1q5KOqURDeYoQ7m7THeobyM3pnmDO03GIMdYgLV3Lnpvk6FTprtsV8SxWr8ZJ-Cy1g_I9wtKcB4B5bIFLjfV4r8W_-uq_g5ddbri-Yy28Ah97jxFIFOVChbPSbQpS-TRshW6M2cM5Y2EhGudpgVQBM-Tekco9fGSRw' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Sec-GPC: 1' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Pragma: no-cache' \
|
||||
-H 'Cache-Control: no-cache' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw $'{"object":{"metadata":{"version":"0.0.1","name":"Cozy A-frame Cabin Retreat","createdAt":1765325556528,"updatedAt":1765325565023,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bcb8d155-0117-4d20-85cf-aa76627996e8":{"id":"bcb8d155-0117-4d20-85cf-aa76627996e8","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"},"createdAt":1765325562986,"title":"Cozy A-frame Cabin Retreat","caption":"The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabin\'s rustic functionality. "},"b62ec969-b045-4f4e-8926-5f4c2f067b60":{"id":"b62ec969-b045-4f4e-8926-5f4c2f067b60","type":"pano","parentId":"bcb8d155-0117-4d20-85cf-aa76627996e8","source":{"type":"generate_world","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","status":"pending"},"createdAt":1765325565022},"42bf7afb-bf2f-434e-b5a3-573b48ac849a":{"id":"42bf7afb-bf2f-434e-b5a3-573b48ac849a","type":"world","parentId":"b62ec969-b045-4f4e-8926-5f4c2f067b60","source":{"type":"generate_world","world_id":"3e8d210f-28ea-4375-92d8-3ee6f14db61d","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765325565022}}}},"update_mask":["metadata"]}'
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"object": {
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"name": "Cozy A-frame Cabin Retreat",
|
||||
"createdAt": 1765325556528,
|
||||
"updatedAt": 1765325565023,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bcb8d155-0117-4d20-85cf-aa76627996e8": {
|
||||
"id": "bcb8d155-0117-4d20-85cf-aa76627996e8",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765325562986,
|
||||
"title": "Cozy A-frame Cabin Retreat",
|
||||
"caption": "The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabins rustic functionality. "
|
||||
},
|
||||
"b62ec969-b045-4f4e-8926-5f4c2f067b60": {
|
||||
"id": "b62ec969-b045-4f4e-8926-5f4c2f067b60",
|
||||
"type": "pano",
|
||||
"parentId": "bcb8d155-0117-4d20-85cf-aa76627996e8",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "3e8d210f-28ea-4375-92d8-3ee6f14db61d",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765325565022
|
||||
},
|
||||
"42bf7afb-bf2f-434e-b5a3-573b48ac849a": {
|
||||
"id": "42bf7afb-bf2f-434e-b5a3-573b48ac849a",
|
||||
"type": "world",
|
||||
"parentId": "b62ec969-b045-4f4e-8926-5f4c2f067b60",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "3e8d210f-28ea-4375-92d8-3ee6f14db61d",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765325565022
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"update_mask": [
|
||||
"metadata"
|
||||
]
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"context": null,
|
||||
"id": "a37a82a4-0b39-47e1-acf9-07a65888d5be",
|
||||
"display_name": null,
|
||||
"owner_id": "sVgAQDyH3BfYOBfF6epWTjLHygX2",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765325556,
|
||||
"updated_at": 1765325565,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"name": "Cozy A-frame Cabin Retreat",
|
||||
"createdAt": 1765325556528,
|
||||
"updatedAt": 1765325565023,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bcb8d155-0117-4d20-85cf-aa76627996e8": {
|
||||
"id": "bcb8d155-0117-4d20-85cf-aa76627996e8",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/cf326bd0-b7eb-454c-b433-54f36eb4d5a6/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765325562986,
|
||||
"title": "Cozy A-frame Cabin Retreat",
|
||||
"caption": "The scene is a cozy A-frame cabin interior, rendered in a realistic style, exuding warmth and rustic charm, creating a tranquil and inviting atmosphere. A prominent wooden A-frame structure defines the architecture, featuring angled timber beams that converge towards the peak of the ceiling. The walls and ceiling are paneled with warm-toned wooden planks, creating a consistent and enveloping aesthetic throughout the space. A large, floor-to-ceiling window dominates one wall, offering an expansive view of a lush forest with tall trees and autumnal foliage outside, suggesting the cabin is nestled deep within nature. A plush bed occupies a significant portion of the floor space, adorned with a dark grey duvet, numerous pillows, and a rust-colored throw blanket, inviting comfort and relaxation. A cream-colored faux fur rug rests on the wooden floor beside the bed, adding texture and a soft landing. A black wood-burning stove with a visible fire provides heat and a focal point for the room, situated near the large window. The floor is made of polished light wood planks. On the other side of the cabin, a continuation of the wooden paneling and A-frame structure mirrors the visible portion, maintaining architectural consistency. Another large window, identical in style and size to the visible one, would likely offer a similar forest view on the opposite side of the cabin, bathing the entire space in natural light filtered through the trees. A small, rustic armchair with a woven texture would be positioned near the stove on the opposite side, providing an additional seating area for enjoying the warmth. A stack of neatly chopped firewood is arranged next to the stove, ready for use, emphasizing the cabins rustic functionality. "
|
||||
},
|
||||
"b62ec969-b045-4f4e-8926-5f4c2f067b60": {
|
||||
"id": "b62ec969-b045-4f4e-8926-5f4c2f067b60",
|
||||
"type": "pano",
|
||||
"parentId": "bcb8d155-0117-4d20-85cf-aa76627996e8",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "3e8d210f-28ea-4375-92d8-3ee6f14db61d",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765325565022
|
||||
},
|
||||
"42bf7afb-bf2f-434e-b5a3-573b48ac849a": {
|
||||
"id": "42bf7afb-bf2f-434e-b5a3-573b48ac849a",
|
||||
"type": "world",
|
||||
"parentId": "b62ec969-b045-4f4e-8926-5f4c2f067b60",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "3e8d210f-28ea-4375-92d8-3ee6f14db61d",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765325565022
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects
|
||||
|
||||
fetch("https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects", {
|
||||
"headers": {
|
||||
"accept": "*/*",
|
||||
"accept-language": "en-US,en;q=0.9",
|
||||
"authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVm9jb2RlcyBWb2NvZGVzIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0x6Mi0yT2FBbTBNUXhSNmo4Q05yLVBvOF9Yci1hcnlBVGlDbjRjMGlfVHVEbUxfZz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTQzMzEwOCwidXNlcl9pZCI6ImhkWXRlM3JWcldic3dKWkVnbEw1Q2RtS2Z4djEiLCJzdWIiOiJoZFl0ZTNyVnJXYnN3SlpFZ2xMNUNkbUtmeHYxIiwiaWF0IjoxNzY1NDMzMTA4LCJleHAiOjE3NjU0MzY3MDgsImVtYWlsIjoidm9jb2RlczIwMjBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTMxMDE5Njc2MTIzOTY3OTM3NzciXSwiZW1haWwiOlsidm9jb2RlczIwMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.Q5yHeLfkTZb6DigaHmjwcejZNPw4byf0QAo-5z7FnZ2UJKfQINcwSQlXRTpDj-t4J8I5WlVBmqX9CM3UtSlQ4lJyc5UI2r5MPUri7Djl8NItKF0QEZhf-MO10crXuEG2IMNsiePrMjy9fDgHzOywA2HNpyJluZu9vgZqZxT4Nol11gcsxBssk7k-YWJR7Ig-pUgRzqkM0BgdX2HRad_gI2Fe7oH6s1cw1lJ157wYL-ltAH-diVWLuwlxolc7BeRDOEuqLlHtQgd4zVvVPrcOOSwwxOSPChgAaafERLBwaTBbFe3M0xqbdvPb7IU58LA-E3HlXyFsXcDf6m5anOyhrQ",
|
||||
"baggage": "sentry-environment=prod,sentry-release=rel-5f2dd5e,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=59eba427c8e042aaae0b9d30f7f3aa4f,sentry-org_id=4509005975388160,sentry-replay_id=ada67eaa105f47049ac59d52f38232dd,sentry-transaction=%2F(auth)%2Fonboarding,sentry-sampled=true,sentry-sample_rand=0.7143690752789659,sentry-sample_rate=1",
|
||||
"cache-control": "no-cache",
|
||||
"content-type": "application/json",
|
||||
"pragma": "no-cache",
|
||||
"priority": "u=1, i",
|
||||
"sec-ch-ua": "\"Not_A Brand\";v=\"99\", \"Chromium\";v=\"142\"",
|
||||
"sec-ch-ua-mobile": "?0",
|
||||
"sec-ch-ua-platform": "\"Linux\"",
|
||||
"sec-fetch-dest": "empty",
|
||||
"sec-fetch-mode": "cors",
|
||||
"sec-fetch-site": "cross-site",
|
||||
"sentry-trace": "59eba427c8e042aaae0b9d30f7f3aa4f-81eca8557b198888-1"
|
||||
},
|
||||
"referrer": "https://marble.worldlabs.ai/",
|
||||
"body": "{\"metadata\":{\"version\":\"0.0.1\",\"createdAt\":1765433415549,\"updatedAt\":1765433415549,\"useAdvancedEditing\":false,\"draftMode\":false,\"nodes\":{}},\"mime_type\":\"application/run+json\"}",
|
||||
"method": "POST",
|
||||
"mode": "cors",
|
||||
"credentials": "include"
|
||||
});
|
||||
|
||||
Request Body:
|
||||
|
||||
{
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765433415549,
|
||||
"updatedAt": 1765433415549,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
},
|
||||
"mime_type": "application/run+json"
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{
|
||||
"context":null,
|
||||
"id":"6623842d-3669-49b9-976f-5b239c24e353",
|
||||
"display_name":null,
|
||||
"owner_id":"hdYte3rVrWbswJZEglL5CdmKfxv1",
|
||||
"status":"CREATED",
|
||||
"created_at":1765433415,
|
||||
"updated_at":1765433415,
|
||||
"object_uri":null,
|
||||
"mime_type":"application/run+json",
|
||||
"metadata":{
|
||||
"version":"0.0.1",
|
||||
"createdAt":1765433415549,
|
||||
"updatedAt":1765433415549,
|
||||
"useAdvancedEditing":false,
|
||||
"draftMode":false,
|
||||
"nodes":{}
|
||||
}
|
||||
}
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects
|
||||
|
||||
fetch("https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects", {
|
||||
"headers": {
|
||||
"accept": "*/*",
|
||||
"accept-language": "en-US,en;q=0.9",
|
||||
"authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVm9jb2RlcyBWb2NvZGVzIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0x6Mi0yT2FBbTBNUXhSNmo4Q05yLVBvOF9Yci1hcnlBVGlDbjRjMGlfVHVEbUxfZz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTQzMzEwOCwidXNlcl9pZCI6ImhkWXRlM3JWcldic3dKWkVnbEw1Q2RtS2Z4djEiLCJzdWIiOiJoZFl0ZTNyVnJXYnN3SlpFZ2xMNUNkbUtmeHYxIiwiaWF0IjoxNzY1NDMzMTA4LCJleHAiOjE3NjU0MzY3MDgsImVtYWlsIjoidm9jb2RlczIwMjBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTMxMDE5Njc2MTIzOTY3OTM3NzciXSwiZW1haWwiOlsidm9jb2RlczIwMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.Q5yHeLfkTZb6DigaHmjwcejZNPw4byf0QAo-5z7FnZ2UJKfQINcwSQlXRTpDj-t4J8I5WlVBmqX9CM3UtSlQ4lJyc5UI2r5MPUri7Djl8NItKF0QEZhf-MO10crXuEG2IMNsiePrMjy9fDgHzOywA2HNpyJluZu9vgZqZxT4Nol11gcsxBssk7k-YWJR7Ig-pUgRzqkM0BgdX2HRad_gI2Fe7oH6s1cw1lJ157wYL-ltAH-diVWLuwlxolc7BeRDOEuqLlHtQgd4zVvVPrcOOSwwxOSPChgAaafERLBwaTBbFe3M0xqbdvPb7IU58LA-E3HlXyFsXcDf6m5anOyhrQ",
|
||||
"baggage": "sentry-environment=prod,sentry-release=rel-5f2dd5e,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=59eba427c8e042aaae0b9d30f7f3aa4f,sentry-org_id=4509005975388160,sentry-replay_id=ada67eaa105f47049ac59d52f38232dd,sentry-transaction=%2F(auth)%2Fonboarding,sentry-sampled=true,sentry-sample_rand=0.7143690752789659,sentry-sample_rate=1",
|
||||
"cache-control": "no-cache",
|
||||
"content-type": "application/json",
|
||||
"pragma": "no-cache",
|
||||
"priority": "u=1, i",
|
||||
"sec-ch-ua": "\"Not_A Brand\";v=\"99\", \"Chromium\";v=\"142\"",
|
||||
"sec-ch-ua-mobile": "?0",
|
||||
"sec-ch-ua-platform": "\"Linux\"",
|
||||
"sec-fetch-dest": "empty",
|
||||
"sec-fetch-mode": "cors",
|
||||
"sec-fetch-site": "cross-site",
|
||||
"sentry-trace": "59eba427c8e042aaae0b9d30f7f3aa4f-96c7b63a77da1719-1"
|
||||
},
|
||||
"referrer": "https://marble.worldlabs.ai/",
|
||||
"body": "{\"display_name\":\"uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg\",\"mime_type\":\"image/jpeg\"}",
|
||||
"method": "POST",
|
||||
"mode": "cors",
|
||||
"credentials": "include"
|
||||
});
|
||||
|
||||
Request Payload:
|
||||
|
||||
{
|
||||
"display_name": "uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg",
|
||||
"mime_type": "image/jpeg"
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"ee33d03e-b153-4d56-a7cb-a08bf86bd20e","display_name":"uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg","owner_id":"hdYte3rVrWbswJZEglL5CdmKfxv1","status":"CREATED","created_at":1765433415,"updated_at":1765433415,"object_uri":null,"mime_type":"image/jpeg","metadata":null}
|
||||
|
||||
Response Printed:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "ee33d03e-b153-4d56-a7cb-a08bf86bd20e",
|
||||
"display_name": "uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg",
|
||||
"owner_id": "hdYte3rVrWbswJZEglL5CdmKfxv1",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765433415,
|
||||
"updated_at": 1765433415,
|
||||
"object_uri": null,
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e:upload
|
||||
|
||||
fetch("https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e:upload", {
|
||||
"headers": {
|
||||
"accept": "*/*",
|
||||
"accept-language": "en-US,en;q=0.9",
|
||||
"authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVm9jb2RlcyBWb2NvZGVzIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0x6Mi0yT2FBbTBNUXhSNmo4Q05yLVBvOF9Yci1hcnlBVGlDbjRjMGlfVHVEbUxfZz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTQzMzEwOCwidXNlcl9pZCI6ImhkWXRlM3JWcldic3dKWkVnbEw1Q2RtS2Z4djEiLCJzdWIiOiJoZFl0ZTNyVnJXYnN3SlpFZ2xMNUNkbUtmeHYxIiwiaWF0IjoxNzY1NDMzMTA4LCJleHAiOjE3NjU0MzY3MDgsImVtYWlsIjoidm9jb2RlczIwMjBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTMxMDE5Njc2MTIzOTY3OTM3NzciXSwiZW1haWwiOlsidm9jb2RlczIwMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.Q5yHeLfkTZb6DigaHmjwcejZNPw4byf0QAo-5z7FnZ2UJKfQINcwSQlXRTpDj-t4J8I5WlVBmqX9CM3UtSlQ4lJyc5UI2r5MPUri7Djl8NItKF0QEZhf-MO10crXuEG2IMNsiePrMjy9fDgHzOywA2HNpyJluZu9vgZqZxT4Nol11gcsxBssk7k-YWJR7Ig-pUgRzqkM0BgdX2HRad_gI2Fe7oH6s1cw1lJ157wYL-ltAH-diVWLuwlxolc7BeRDOEuqLlHtQgd4zVvVPrcOOSwwxOSPChgAaafERLBwaTBbFe3M0xqbdvPb7IU58LA-E3HlXyFsXcDf6m5anOyhrQ",
|
||||
"baggage": "sentry-environment=prod,sentry-release=rel-5f2dd5e,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=59eba427c8e042aaae0b9d30f7f3aa4f,sentry-org_id=4509005975388160,sentry-replay_id=ada67eaa105f47049ac59d52f38232dd,sentry-transaction=%2F(auth)%2Fonboarding,sentry-sampled=true,sentry-sample_rand=0.7143690752789659,sentry-sample_rate=1",
|
||||
"cache-control": "no-cache",
|
||||
"pragma": "no-cache",
|
||||
"priority": "u=1, i",
|
||||
"sec-ch-ua": "\"Not_A Brand\";v=\"99\", \"Chromium\";v=\"142\"",
|
||||
"sec-ch-ua-mobile": "?0",
|
||||
"sec-ch-ua-platform": "\"Linux\"",
|
||||
"sec-fetch-dest": "empty",
|
||||
"sec-fetch-mode": "cors",
|
||||
"sec-fetch-site": "cross-site",
|
||||
"sentry-trace": "59eba427c8e042aaae0b9d30f7f3aa4f-b77b4ae878caa9c8-1"
|
||||
},
|
||||
"referrer": "https://marble.worldlabs.ai/",
|
||||
"body": null,
|
||||
"method": "POST",
|
||||
"mode": "cors",
|
||||
"credentials": "include"
|
||||
});
|
||||
|
||||
Response:
|
||||
|
||||
{"upload_id":"ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg","upload_url":"https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251211%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251211T061016Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=8c494d7afd19eea9820fc1d629d8b10cc76410c34f98c440665a0e2a7bf6980e6fadaa4a271c335de485780ee645dfb8b2f956cd8cc17fb1878581f5b39331208197579f9976bc6d21e75df1828c3bd5aba5bf21b91100f3c583b76ab2f0ce5fba32c671eaac860cfd43d4ecc31f509a83b1c30a8336d81fd1c9cd9fc9283ed4e8978c7a6418dc3ac3da51384041a5e3b7255b7bd67bdbbad5f65e87ef883d0dac9018caded615be46914b0d298fdc651bf1a77bef1d44d23ab416446c9dab42d9d82dc78ceab67379ad143dd99173fdfbbd7997a5b47673fc960cf511b76a6d1f941274a8bce456a16809c4f2752517f468611f67bf9eb1fab35e0d3280bdaa","required_headers":{"Content-Type":"image/jpeg","x-goog-content-length-range":"0,1048576000"},"curl_example":"curl -X PUT -H 'Content-Type: image/jpeg' -H 'x-goog-content-length-range: 0,1048576000' --upload-file my-file 'https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251211%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251211T061016Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=8c494d7afd19eea9820fc1d629d8b10cc76410c34f98c440665a0e2a7bf6980e6fadaa4a271c335de485780ee645dfb8b2f956cd8cc17fb1878581f5b39331208197579f9976bc6d21e75df1828c3bd5aba5bf21b91100f3c583b76ab2f0ce5fba32c671eaac860cfd43d4ecc31f509a83b1c30a8336d81fd1c9cd9fc9283ed4e8978c7a6418dc3ac3da51384041a5e3b7255b7bd67bdbbad5f65e87ef883d0dac9018caded615be46914b0d298fdc651bf1a77bef1d44d23ab416446c9dab42d9d82dc78ceab67379ad143dd99173fdfbbd7997a5b47673fc960cf511b76a6d1f941274a8bce456a16809c4f2752517f468611f67bf9eb1fab35e0d3280bdaa'"}
|
||||
|
||||
Response Pretty Printed:
|
||||
|
||||
{
|
||||
"upload_id": "ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg",
|
||||
"upload_url": "https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251211%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251211T061016Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=8c494d7afd19eea9820fc1d629d8b10cc76410c34f98c440665a0e2a7bf6980e6fadaa4a271c335de485780ee645dfb8b2f956cd8cc17fb1878581f5b39331208197579f9976bc6d21e75df1828c3bd5aba5bf21b91100f3c583b76ab2f0ce5fba32c671eaac860cfd43d4ecc31f509a83b1c30a8336d81fd1c9cd9fc9283ed4e8978c7a6418dc3ac3da51384041a5e3b7255b7bd67bdbbad5f65e87ef883d0dac9018caded615be46914b0d298fdc651bf1a77bef1d44d23ab416446c9dab42d9d82dc78ceab67379ad143dd99173fdfbbd7997a5b47673fc960cf511b76a6d1f941274a8bce456a16809c4f2752517f468611f67bf9eb1fab35e0d3280bdaa",
|
||||
"required_headers": {
|
||||
"Content-Type": "image/jpeg",
|
||||
"x-goog-content-length-range": "0,1048576000"
|
||||
},
|
||||
"curl_example": "curl -X PUT -H 'Content-Type: image/jpeg' -H 'x-goog-content-length-range: 0,1048576000' --upload-file my-file 'https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251211%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251211T061016Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=8c494d7afd19eea9820fc1d629d8b10cc76410c34f98c440665a0e2a7bf6980e6fadaa4a271c335de485780ee645dfb8b2f956cd8cc17fb1878581f5b39331208197579f9976bc6d21e75df1828c3bd5aba5bf21b91100f3c583b76ab2f0ce5fba32c671eaac860cfd43d4ecc31f509a83b1c30a8336d81fd1c9cd9fc9283ed4e8978c7a6418dc3ac3da51384041a5e3b7255b7bd67bdbbad5f65e87ef883d0dac9018caded615be46914b0d298fdc651bf1a77bef1d44d23ab416446c9dab42d9d82dc78ceab67379ad143dd99173fdfbbd7997a5b47673fc960cf511b76a6d1f941274a8bce456a16809c4f2752517f468611f67bf9eb1fab35e0d3280bdaa'"
|
||||
}
|
||||
+68
File diff suppressed because one or more lines are too long
+44
@@ -0,0 +1,44 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e:complete
|
||||
|
||||
fetch("https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/ee33d03e-b153-4d56-a7cb-a08bf86bd20e:complete", {
|
||||
"headers": {
|
||||
"accept": "*/*",
|
||||
"accept-language": "en-US,en;q=0.9",
|
||||
"authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVm9jb2RlcyBWb2NvZGVzIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0x6Mi0yT2FBbTBNUXhSNmo4Q05yLVBvOF9Yci1hcnlBVGlDbjRjMGlfVHVEbUxfZz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTQzMzEwOCwidXNlcl9pZCI6ImhkWXRlM3JWcldic3dKWkVnbEw1Q2RtS2Z4djEiLCJzdWIiOiJoZFl0ZTNyVnJXYnN3SlpFZ2xMNUNkbUtmeHYxIiwiaWF0IjoxNzY1NDMzMTA4LCJleHAiOjE3NjU0MzY3MDgsImVtYWlsIjoidm9jb2RlczIwMjBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTMxMDE5Njc2MTIzOTY3OTM3NzciXSwiZW1haWwiOlsidm9jb2RlczIwMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.Q5yHeLfkTZb6DigaHmjwcejZNPw4byf0QAo-5z7FnZ2UJKfQINcwSQlXRTpDj-t4J8I5WlVBmqX9CM3UtSlQ4lJyc5UI2r5MPUri7Djl8NItKF0QEZhf-MO10crXuEG2IMNsiePrMjy9fDgHzOywA2HNpyJluZu9vgZqZxT4Nol11gcsxBssk7k-YWJR7Ig-pUgRzqkM0BgdX2HRad_gI2Fe7oH6s1cw1lJ157wYL-ltAH-diVWLuwlxolc7BeRDOEuqLlHtQgd4zVvVPrcOOSwwxOSPChgAaafERLBwaTBbFe3M0xqbdvPb7IU58LA-E3HlXyFsXcDf6m5anOyhrQ",
|
||||
"baggage": "sentry-environment=prod,sentry-release=rel-5f2dd5e,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=59eba427c8e042aaae0b9d30f7f3aa4f,sentry-org_id=4509005975388160,sentry-replay_id=ada67eaa105f47049ac59d52f38232dd,sentry-transaction=%2F(auth)%2Fonboarding,sentry-sampled=true,sentry-sample_rand=0.7143690752789659,sentry-sample_rate=1",
|
||||
"cache-control": "no-cache",
|
||||
"pragma": "no-cache",
|
||||
"priority": "u=1, i",
|
||||
"sec-ch-ua": "\"Not_A Brand\";v=\"99\", \"Chromium\";v=\"142\"",
|
||||
"sec-ch-ua-mobile": "?0",
|
||||
"sec-ch-ua-platform": "\"Linux\"",
|
||||
"sec-fetch-dest": "empty",
|
||||
"sec-fetch-mode": "cors",
|
||||
"sec-fetch-site": "cross-site",
|
||||
"sentry-trace": "59eba427c8e042aaae0b9d30f7f3aa4f-87ab2d9c0dd400ab-1"
|
||||
},
|
||||
"referrer": "https://marble.worldlabs.ai/",
|
||||
"body": null,
|
||||
"method": "POST",
|
||||
"mode": "cors",
|
||||
"credentials": "include"
|
||||
});
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"ee33d03e-b153-4d56-a7cb-a08bf86bd20e","display_name":"uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg","owner_id":"hdYte3rVrWbswJZEglL5CdmKfxv1","status":"READY","created_at":1765433416,"updated_at":1765433417,"object_uri":"https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg","mime_type":"image/jpeg","metadata":null}
|
||||
|
||||
Response Pretty Print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "ee33d03e-b153-4d56-a7cb-a08bf86bd20e",
|
||||
"display_name": "uploaded_image_f21c0e52-5202-43eb-ba46-121860ae8265.jpeg",
|
||||
"owner_id": "hdYte3rVrWbswJZEglL5CdmKfxv1",
|
||||
"status": "READY",
|
||||
"created_at": 1765433416,
|
||||
"updated_at": 1765433417,
|
||||
"object_uri": "https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg",
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/6623842d-3669-49b9-976f-5b239c24e353
|
||||
|
||||
fetch("https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/6623842d-3669-49b9-976f-5b239c24e353", {
|
||||
"headers": {
|
||||
"accept": "*/*",
|
||||
"accept-language": "en-US,en;q=0.9",
|
||||
"authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk1MTg5MTkxMTA3NjA1NDM0NGUxNWUyNTY0MjViYjQyNWVlYjNhNWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiVm9jb2RlcyBWb2NvZGVzIiwicGljdHVyZSI6Imh0dHBzOi8vbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbS9hL0FDZzhvY0x6Mi0yT2FBbTBNUXhSNmo4Q05yLVBvOF9Yci1hcnlBVGlDbjRjMGlfVHVEbUxfZz1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2NTQzMzEwOCwidXNlcl9pZCI6ImhkWXRlM3JWcldic3dKWkVnbEw1Q2RtS2Z4djEiLCJzdWIiOiJoZFl0ZTNyVnJXYnN3SlpFZ2xMNUNkbUtmeHYxIiwiaWF0IjoxNzY1NDMzMTA4LCJleHAiOjE3NjU0MzY3MDgsImVtYWlsIjoidm9jb2RlczIwMjBAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTMxMDE5Njc2MTIzOTY3OTM3NzciXSwiZW1haWwiOlsidm9jb2RlczIwMjBAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoiZ29vZ2xlLmNvbSJ9fQ.Q5yHeLfkTZb6DigaHmjwcejZNPw4byf0QAo-5z7FnZ2UJKfQINcwSQlXRTpDj-t4J8I5WlVBmqX9CM3UtSlQ4lJyc5UI2r5MPUri7Djl8NItKF0QEZhf-MO10crXuEG2IMNsiePrMjy9fDgHzOywA2HNpyJluZu9vgZqZxT4Nol11gcsxBssk7k-YWJR7Ig-pUgRzqkM0BgdX2HRad_gI2Fe7oH6s1cw1lJ157wYL-ltAH-diVWLuwlxolc7BeRDOEuqLlHtQgd4zVvVPrcOOSwwxOSPChgAaafERLBwaTBbFe3M0xqbdvPb7IU58LA-E3HlXyFsXcDf6m5anOyhrQ",
|
||||
"baggage": "sentry-environment=prod,sentry-release=rel-5f2dd5e,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=59eba427c8e042aaae0b9d30f7f3aa4f,sentry-org_id=4509005975388160,sentry-replay_id=ada67eaa105f47049ac59d52f38232dd,sentry-transaction=%2F(auth)%2Fonboarding,sentry-sampled=true,sentry-sample_rand=0.7143690752789659,sentry-sample_rate=1",
|
||||
"cache-control": "no-cache",
|
||||
"content-type": "application/json",
|
||||
"pragma": "no-cache",
|
||||
"priority": "u=1, i",
|
||||
"sec-ch-ua": "\"Not_A Brand\";v=\"99\", \"Chromium\";v=\"142\"",
|
||||
"sec-ch-ua-mobile": "?0",
|
||||
"sec-ch-ua-platform": "\"Linux\"",
|
||||
"sec-fetch-dest": "empty",
|
||||
"sec-fetch-mode": "cors",
|
||||
"sec-fetch-site": "cross-site",
|
||||
"sentry-trace": "59eba427c8e042aaae0b9d30f7f3aa4f-b681b158a45c6f06-1"
|
||||
},
|
||||
"referrer": "https://marble.worldlabs.ai/",
|
||||
"body": "{\"object\":{\"metadata\":{\"version\":\"0.0.1\",\"createdAt\":1765433415549,\"updatedAt\":1765433417487,\"useAdvancedEditing\":false,\"draftMode\":false,\"nodes\":{\"9b864e10-5a9b-46a1-8a94-2b571649a60d\":{\"id\":\"9b864e10-5a9b-46a1-8a94-2b571649a60d\",\"type\":\"input\",\"parentId\":null,\"source\":{\"type\":\"image\",\"image_url\":\"https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg\"},\"createdAt\":1765433417487},\"22b9587b-2b4d-49c2-a6eb-e985d890e7db\":{\"id\":\"22b9587b-2b4d-49c2-a6eb-e985d890e7db\",\"type\":\"pano\",\"parentId\":\"9b864e10-5a9b-46a1-8a94-2b571649a60d\",\"source\":{\"type\":\"generate_world\",\"world_id\":\"pending\",\"status\":\"pending\"},\"createdAt\":1765433417487},\"8e63a168-0c85-470d-b655-b185e0e13fee\":{\"id\":\"8e63a168-0c85-470d-b655-b185e0e13fee\",\"type\":\"world\",\"parentId\":\"22b9587b-2b4d-49c2-a6eb-e985d890e7db\",\"source\":{\"type\":\"generate_world\",\"world_id\":\"pending\",\"posed_cubemaps_url\":\"\",\"minimap_url\":\"\",\"minimap_metadata\":\"\",\"status\":\"pending\"},\"createdAt\":1765433417487}}}},\"update_mask\":[\"metadata\"]}",
|
||||
"method": "PATCH",
|
||||
"mode": "cors",
|
||||
"credentials": "include"
|
||||
});
|
||||
|
||||
Request Payload:
|
||||
|
||||
{"object":{"metadata":{"version":"0.0.1","createdAt":1765433415549,"updatedAt":1765433417487,"useAdvancedEditing":false,"draftMode":false,"nodes":{"9b864e10-5a9b-46a1-8a94-2b571649a60d":{"id":"9b864e10-5a9b-46a1-8a94-2b571649a60d","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg"},"createdAt":1765433417487},"22b9587b-2b4d-49c2-a6eb-e985d890e7db":{"id":"22b9587b-2b4d-49c2-a6eb-e985d890e7db","type":"pano","parentId":"9b864e10-5a9b-46a1-8a94-2b571649a60d","source":{"type":"generate_world","world_id":"pending","status":"pending"},"createdAt":1765433417487},"8e63a168-0c85-470d-b655-b185e0e13fee":{"id":"8e63a168-0c85-470d-b655-b185e0e13fee","type":"world","parentId":"22b9587b-2b4d-49c2-a6eb-e985d890e7db","source":{"type":"generate_world","world_id":"pending","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765433417487}}}},"update_mask":["metadata"]}
|
||||
|
||||
Request Payload Pretty Print:
|
||||
|
||||
{
|
||||
"object": {
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765433415549,
|
||||
"updatedAt": 1765433417487,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
|
||||
// This is a new UUID that gets used downstream -
|
||||
|
||||
"9b864e10-5a9b-46a1-8a94-2b571649a60d": {
|
||||
"id": "9b864e10-5a9b-46a1-8a94-2b571649a60d",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
},
|
||||
|
||||
|
||||
"22b9587b-2b4d-49c2-a6eb-e985d890e7db": {
|
||||
"id": "22b9587b-2b4d-49c2-a6eb-e985d890e7db",
|
||||
"type": "pano",
|
||||
"parentId": "9b864e10-5a9b-46a1-8a94-2b571649a60d",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
},
|
||||
|
||||
|
||||
"8e63a168-0c85-470d-b655-b185e0e13fee": {
|
||||
"id": "8e63a168-0c85-470d-b655-b185e0e13fee",
|
||||
"type": "world",
|
||||
"parentId": "22b9587b-2b4d-49c2-a6eb-e985d890e7db",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
"update_mask": [
|
||||
"metadata"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Notes:
|
||||
|
||||
- First node, `9b864e10-5a9b-46a1-8a94-2b571649a60d`, appears to be synthetic.
|
||||
- Second node, `22b9587b-2b4d-49c2-a6eb-e985d890e7db`, appears to be synthetic.
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"6623842d-3669-49b9-976f-5b239c24e353","display_name":null,"owner_id":"hdYte3rVrWbswJZEglL5CdmKfxv1","status":"CREATED","created_at":1765433415,"updated_at":1765433417,"object_uri":null,"mime_type":"application/run+json","metadata":{"version":"0.0.1","createdAt":1765433415549,"updatedAt":1765433417487,"useAdvancedEditing":false,"draftMode":false,"nodes":{"9b864e10-5a9b-46a1-8a94-2b571649a60d":{"id":"9b864e10-5a9b-46a1-8a94-2b571649a60d","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg"},"createdAt":1765433417487},"22b9587b-2b4d-49c2-a6eb-e985d890e7db":{"id":"22b9587b-2b4d-49c2-a6eb-e985d890e7db","type":"pano","parentId":"9b864e10-5a9b-46a1-8a94-2b571649a60d","source":{"type":"generate_world","world_id":"pending","status":"pending"},"createdAt":1765433417487},"8e63a168-0c85-470d-b655-b185e0e13fee":{"id":"8e63a168-0c85-470d-b655-b185e0e13fee","type":"world","parentId":"22b9587b-2b4d-49c2-a6eb-e985d890e7db","source":{"type":"generate_world","world_id":"pending","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765433417487}}}}
|
||||
|
||||
Response Pretty Print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "6623842d-3669-49b9-976f-5b239c24e353",
|
||||
"display_name": null,
|
||||
"owner_id": "hdYte3rVrWbswJZEglL5CdmKfxv1",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765433415,
|
||||
"updated_at": 1765433417,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765433415549,
|
||||
"updatedAt": 1765433417487,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"9b864e10-5a9b-46a1-8a94-2b571649a60d": {
|
||||
"id": "9b864e10-5a9b-46a1-8a94-2b571649a60d",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
},
|
||||
"22b9587b-2b4d-49c2-a6eb-e985d890e7db": {
|
||||
"id": "22b9587b-2b4d-49c2-a6eb-e985d890e7db",
|
||||
"type": "pano",
|
||||
"parentId": "9b864e10-5a9b-46a1-8a94-2b571649a60d",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
},
|
||||
"8e63a168-0c85-470d-b655-b185e0e13fee": {
|
||||
"id": "8e63a168-0c85-470d-b655-b185e0e13fee",
|
||||
"type": "world",
|
||||
"parentId": "22b9587b-2b4d-49c2-a6eb-e985d890e7db",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765433417487
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
The URL is accessible in the browser:
|
||||
|
||||
https://cdn.marble.worldlabs.ai/object/ee33d03e-b153-4d56-a7cb-a08bf86bd20e/asset.jpg
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/d60cfa21-5506-43de-9a9c-0707fc17a5ec
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/d60cfa21-5506-43de-9a9c-0707fc17a5ec' \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-a612671b9027c513-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers'
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","display_name":null,"status":"INITIALIZING","error":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","created_at":1765756778,"updated_at":1765756778,"permission":{"public":true,"allowed_readers":[],"allowed_writers":[]},"stats":null,"application_data":{"owner_username":"Sabalid","owner_display_name":"Sabalid","reactions":null,"pinned":false},"generation_input":{"model":"Marble 0.1-plus","seed":null,"prompt":{"type":"image","text_prompt":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png","data_base64":null,"extension":null},"is_pano":false}},"tags":null,"hq_mesh_export_op_id":null,"generation_output":null}
|
||||
|
||||
Response Pretty Print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"display_name": null,
|
||||
"status": "INITIALIZING",
|
||||
"error": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"created_at": 1765756778,
|
||||
"updated_at": 1765756778,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": {
|
||||
"owner_username": "Sabalid",
|
||||
"owner_display_name": "Sabalid",
|
||||
"reactions": null,
|
||||
"pinned": false
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": null
|
||||
},
|
||||
"is_pano": false
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": null
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
- https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in fifth request, `object_uri` of upload
|
||||
- bc17252b-811e-49d7-be3e-b7c538df9d30 - returned in 6th request, "type=input id source type image", used as parent of "pano"
|
||||
- 82f6b488-8afe-4311-9022-80ad5789ad92 - returned in 6th request, "type=pano id", used as parent of "world"
|
||||
- f08ec501-601c-47c6-a104-402d1820b8f0 - returned in 6th request, "type=world id"
|
||||
- d60cfa21-5506-43de-9a9c-0707fc17a5ec - returned in 8th request, "world id"
|
||||
- https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png - returned in 8th request, "image prompt"
|
||||
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/d60cfa21-5506-43de-9a9c-0707fc17a5ec
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds/d60cfa21-5506-43de-9a9c-0707fc17a5ec' \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-bb87f52cf597e7f2-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers'
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","display_name":null,"status":"SUCCEEDED","error":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","created_at":1765756778,"updated_at":1765757084,"permission":{"public":true,"allowed_readers":[],"allowed_writers":[]},"stats":null,"application_data":{"owner_username":"Sabalid","owner_display_name":"Sabalid","reactions":null,"pinned":false},"generation_input":{"model":"Marble 0.1-plus","seed":null,"prompt":{"type":"image","text_prompt":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png","data_base64":null,"extension":null},"is_pano":false}},"tags":null,"hq_mesh_export_op_id":null,"generation_output":{"ply_url":null,"wlg_url":null,"cond_image_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png","mpi_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/98fe3c48-1bbc-47c4-9566-e8c5148ea2f9_dust_mpi","minimap_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/9f1d6596-c3bb-4dfd-ad87-3c017d1bf14c_minimap.png","minimap_metadata":"[0.0, 2.499943256378174, 18.699874114990237]","spz_urls":{"500k":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/2fd338ed-3221-4aef-bff5-63cbdc0e5704_ceramic_500k.spz","full_res":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/1002dd35-fcad-4eeb-ba15-0d113c1778d8_ceramic.spz","100k":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/67f1291c-7aec-42fe-8c36-092383c1f326_dust_100k.spz"},"skypano_url":null,"posed_cond_image":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/9a62b2f9-9c14-4909-9368-e2e7ff4550db_cond_image","collider_mesh_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/ddcd9298.glb","hq_mesh_url":null,"full_res_mesh_url":null,"semantics_metadata":null,"posed_cubemaps_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/dba9fbb9-ed62-4be0-9196-d052eee06b82_cubemaps","posed_panos_url":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/f11182b6-61b1-4e31-87c6-23e1f74c675c_panos","panos_metadata":null}}
|
||||
|
||||
Response Pretty print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"display_name": null,
|
||||
"status": "SUCCEEDED",
|
||||
"error": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"created_at": 1765756778,
|
||||
"updated_at": 1765757084,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": {
|
||||
"owner_username": "Sabalid",
|
||||
"owner_display_name": "Sabalid",
|
||||
"reactions": null,
|
||||
"pinned": false
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": null
|
||||
},
|
||||
"is_pano": false
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": {
|
||||
"ply_url": null,
|
||||
"wlg_url": null,
|
||||
"cond_image_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png",
|
||||
"mpi_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/98fe3c48-1bbc-47c4-9566-e8c5148ea2f9_dust_mpi",
|
||||
"minimap_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/9f1d6596-c3bb-4dfd-ad87-3c017d1bf14c_minimap.png",
|
||||
"minimap_metadata": "[0.0, 2.499943256378174, 18.699874114990237]",
|
||||
"spz_urls": {
|
||||
"500k": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/2fd338ed-3221-4aef-bff5-63cbdc0e5704_ceramic_500k.spz",
|
||||
"full_res": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/1002dd35-fcad-4eeb-ba15-0d113c1778d8_ceramic.spz",
|
||||
"100k": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/67f1291c-7aec-42fe-8c36-092383c1f326_dust_100k.spz"
|
||||
},
|
||||
"skypano_url": null,
|
||||
"posed_cond_image": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/9a62b2f9-9c14-4909-9368-e2e7ff4550db_cond_image",
|
||||
"collider_mesh_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/ddcd9298.glb",
|
||||
"hq_mesh_url": null,
|
||||
"full_res_mesh_url": null,
|
||||
"semantics_metadata": null,
|
||||
"posed_cubemaps_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/dba9fbb9-ed62-4be0-9196-d052eee06b82_cubemaps",
|
||||
"posed_panos_url": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/f11182b6-61b1-4e31-87c6-23e1f74c675c_panos",
|
||||
"panos_metadata": null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-b07b0c3b15b2edc4-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=0' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"metadata":{"version":"0.0.1","createdAt":1765756772176,"updatedAt":1765756772176,"useAdvancedEditing":false,"draftMode":false,"nodes":{}},"mime_type":"application/run+json"}'
|
||||
|
||||
Request Body:
|
||||
|
||||
{
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756772176,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
},
|
||||
"mime_type": "application/run+json"
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"79795b32-e44d-4333-bac1-05b2c9a3ea12","display_name":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","status":"CREATED","created_at":1765756772,"updated_at":1765756772,"object_uri":null,"mime_type":"application/run+json","metadata":{"version":"0.0.1","createdAt":1765756772176,"updatedAt":1765756772176,"useAdvancedEditing":false,"draftMode":false,"nodes":{}}}
|
||||
|
||||
Response Pretty:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "79795b32-e44d-4333-bac1-05b2c9a3ea12",
|
||||
"display_name": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765756772,
|
||||
"updated_at": 1765756772,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756772176,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {}
|
||||
}
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-8cbdfa4093efb320-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"display_name":"uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg","mime_type":"image/jpeg"}'
|
||||
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"13ca760c-8ef9-4bf5-acc3-5a507fad3abf","display_name":"uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg","owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","status":"CREATED","created_at":1765756772,"updated_at":1765756772,"object_uri":null,"mime_type":"image/jpeg","metadata":null}
|
||||
|
||||
Response Pretty:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "13ca760c-8ef9-4bf5-acc3-5a507fad3abf",
|
||||
"display_name": "uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg",
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765756772,
|
||||
"updated_at": 1765756772,
|
||||
"object_uri": null,
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id" (???)
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf:upload
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf:upload' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-b8b8cd20f8f5248e-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Content-Length: 0' \
|
||||
-H 'TE: trailers'
|
||||
|
||||
Response:
|
||||
|
||||
{"upload_id":"13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg","upload_url":"https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251214%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251214T235932Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=0add84395f6752011ef8f90f4a65a3ce772af0591abc76b8e97149954c1325f936d4c09cfed949210ccd864b80fbb440d302cb1b2af4c08c568c8cb7d8ecbca5461f3de3350d2c36a21412808c2c2bb078fd2444f22ed2879aa3541b60bccffcb26d6c2c4a2628458c1a778bd5839c34029e1ff6b3a4ff8896d05016560f24ab7aa875a2991e9028c313ae0872403b77cd1001b0312a81b156311310215d0128d8148b37df579ca3f125a310622193c8c50afe4d0b0e6d985ed77508a26b63d74e2246630e31874a5e271ab97d485c348b319e30c9f1982fa5f6c4f060babef6beec62f563cef57b601f86e9071c5fce00fc90be145f042c363700ee8f741d85","required_headers":{"Content-Type":"image/jpeg","x-goog-content-length-range":"0,1048576000"},"curl_example":"curl -X PUT -H 'Content-Type: image/jpeg' -H 'x-goog-content-length-range: 0,1048576000' --upload-file my-file 'https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251214%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251214T235932Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=0add84395f6752011ef8f90f4a65a3ce772af0591abc76b8e97149954c1325f936d4c09cfed949210ccd864b80fbb440d302cb1b2af4c08c568c8cb7d8ecbca5461f3de3350d2c36a21412808c2c2bb078fd2444f22ed2879aa3541b60bccffcb26d6c2c4a2628458c1a778bd5839c34029e1ff6b3a4ff8896d05016560f24ab7aa875a2991e9028c313ae0872403b77cd1001b0312a81b156311310215d0128d8148b37df579ca3f125a310622193c8c50afe4d0b0e6d985ed77508a26b63d74e2246630e31874a5e271ab97d485c348b319e30c9f1982fa5f6c4f060babef6beec62f563cef57b601f86e9071c5fce00fc90be145f042c363700ee8f741d85'"}
|
||||
|
||||
Response Pretty:
|
||||
|
||||
{
|
||||
"upload_id": "13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg",
|
||||
"upload_url": "https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251214%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251214T235932Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=0add84395f6752011ef8f90f4a65a3ce772af0591abc76b8e97149954c1325f936d4c09cfed949210ccd864b80fbb440d302cb1b2af4c08c568c8cb7d8ecbca5461f3de3350d2c36a21412808c2c2bb078fd2444f22ed2879aa3541b60bccffcb26d6c2c4a2628458c1a778bd5839c34029e1ff6b3a4ff8896d05016560f24ab7aa875a2991e9028c313ae0872403b77cd1001b0312a81b156311310215d0128d8148b37df579ca3f125a310622193c8c50afe4d0b0e6d985ed77508a26b63d74e2246630e31874a5e271ab97d485c348b319e30c9f1982fa5f6c4f060babef6beec62f563cef57b601f86e9071c5fce00fc90be145f042c363700ee8f741d85",
|
||||
"required_headers": {
|
||||
"Content-Type": "image/jpeg",
|
||||
"x-goog-content-length-range": "0,1048576000"
|
||||
},
|
||||
"curl_example": "curl -X PUT -H 'Content-Type: image/jpeg' -H 'x-goog-content-length-range: 0,1048576000' --upload-file my-file 'https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251214%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251214T235932Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=0add84395f6752011ef8f90f4a65a3ce772af0591abc76b8e97149954c1325f936d4c09cfed949210ccd864b80fbb440d302cb1b2af4c08c568c8cb7d8ecbca5461f3de3350d2c36a21412808c2c2bb078fd2444f22ed2879aa3541b60bccffcb26d6c2c4a2628458c1a778bd5839c34029e1ff6b3a4ff8896d05016560f24ab7aa875a2991e9028c313ae0872403b77cd1001b0312a81b156311310215d0128d8148b37df579ca3f125a310622193c8c50afe4d0b0e6d985ed77508a26b63d74e2246630e31874a5e271ab97d485c348b319e30c9f1982fa5f6c4f060babef6beec62f563cef57b601f86e9071c5fce00fc90be145f042c363700ee8f741d85'"
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=wlt-training-gsc-sa%40wlt-training-gsc.iam.gserviceaccount.com%2F20251214%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20251214T235932Z&X-Goog-Expires=3600&X-Goog-SignedHeaders=content-type%3Bhost%3Bx-goog-content-length-range&X-Goog-Signature=0add84395f6752011ef8f90f4a65a3ce772af0591abc76b8e97149954c1325f936d4c09cfed949210ccd864b80fbb440d302cb1b2af4c08c568c8cb7d8ecbca5461f3de3350d2c36a21412808c2c2bb078fd2444f22ed2879aa3541b60bccffcb26d6c2c4a2628458c1a778bd5839c34029e1ff6b3a4ff8896d05016560f24ab7aa875a2991e9028c313ae0872403b77cd1001b0312a81b156311310215d0128d8148b37df579ca3f125a310622193c8c50afe4d0b0e6d985ed77508a26b63d74e2246630e31874a5e271ab97d485c348b319e30c9f1982fa5f6c4f060babef6beec62f563cef57b601f86e9071c5fce00fc90be145f042c363700ee8f741d85
|
||||
|
||||
(Request elided!)
|
||||
|
||||
Response: (empty!)
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf:complete
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/13ca760c-8ef9-4bf5-acc3-5a507fad3abf:complete' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-94b956b304470b95-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'Content-Length: 0' \
|
||||
-H 'TE: trailers'
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"13ca760c-8ef9-4bf5-acc3-5a507fad3abf","display_name":"uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg","owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","status":"READY","created_at":1765756772,"updated_at":1765756773,"object_uri":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg","mime_type":"image/jpeg","metadata":null}
|
||||
|
||||
Response Pretty:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "13ca760c-8ef9-4bf5-acc3-5a507fad3abf",
|
||||
"display_name": "uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg",
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"status": "READY",
|
||||
"created_at": 1765756772,
|
||||
"updated_at": 1765756773,
|
||||
"object_uri": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg",
|
||||
"mime_type": "image/jpeg",
|
||||
"metadata": null
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
- https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in fifth request, `object_uri` of upload
|
||||
|
||||
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/79795b32-e44d-4333-bac1-05b2c9a3ea12
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/79795b32-e44d-4333-bac1-05b2c9a3ea12' \
|
||||
-X PATCH \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-8caec01a11a161e3-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"object":{"metadata":{"version":"0.0.1","createdAt":1765756772176,"updatedAt":1765756773647,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bc17252b-811e-49d7-be3e-b7c538df9d30":{"id":"bc17252b-811e-49d7-be3e-b7c538df9d30","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"createdAt":1765756773647},"82f6b488-8afe-4311-9022-80ad5789ad92":{"id":"82f6b488-8afe-4311-9022-80ad5789ad92","type":"pano","parentId":"bc17252b-811e-49d7-be3e-b7c538df9d30","source":{"type":"generate_world","world_id":"pending","status":"pending"},"createdAt":1765756773647},"f08ec501-601c-47c6-a104-402d1820b8f0":{"id":"f08ec501-601c-47c6-a104-402d1820b8f0","type":"world","parentId":"82f6b488-8afe-4311-9022-80ad5789ad92","source":{"type":"generate_world","world_id":"pending","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765756773647}}}},"update_mask":["metadata"]}'
|
||||
|
||||
Request Body:
|
||||
|
||||
{
|
||||
"object": {
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756773647,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bc17252b-811e-49d7-be3e-b7c538df9d30": {
|
||||
"id": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"82f6b488-8afe-4311-9022-80ad5789ad92": {
|
||||
"id": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"type": "pano",
|
||||
"parentId": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"f08ec501-601c-47c6-a104-402d1820b8f0": {
|
||||
"id": "f08ec501-601c-47c6-a104-402d1820b8f0",
|
||||
"type": "world",
|
||||
"parentId": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"update_mask": [
|
||||
"metadata"
|
||||
]
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"79795b32-e44d-4333-bac1-05b2c9a3ea12","display_name":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","status":"CREATED","created_at":1765756772,"updated_at":1765756773,"object_uri":null,"mime_type":"application/run+json","metadata":{"version":"0.0.1","createdAt":1765756772176,"updatedAt":1765756773647,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bc17252b-811e-49d7-be3e-b7c538df9d30":{"id":"bc17252b-811e-49d7-be3e-b7c538df9d30","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"createdAt":1765756773647},"82f6b488-8afe-4311-9022-80ad5789ad92":{"id":"82f6b488-8afe-4311-9022-80ad5789ad92","type":"pano","parentId":"bc17252b-811e-49d7-be3e-b7c538df9d30","source":{"type":"generate_world","world_id":"pending","status":"pending"},"createdAt":1765756773647},"f08ec501-601c-47c6-a104-402d1820b8f0":{"id":"f08ec501-601c-47c6-a104-402d1820b8f0","type":"world","parentId":"82f6b488-8afe-4311-9022-80ad5789ad92","source":{"type":"generate_world","world_id":"pending","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765756773647}}}}
|
||||
|
||||
Response Pretty:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "79795b32-e44d-4333-bac1-05b2c9a3ea12",
|
||||
"display_name": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765756772,
|
||||
"updated_at": 1765756773,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756773647,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bc17252b-811e-49d7-be3e-b7c538df9d30": {
|
||||
"id": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"82f6b488-8afe-4311-9022-80ad5789ad92": {
|
||||
"id": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"type": "pano",
|
||||
"parentId": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"f08ec501-601c-47c6-a104-402d1820b8f0": {
|
||||
"id": "f08ec501-601c-47c6-a104-402d1820b8f0",
|
||||
"type": "world",
|
||||
"parentId": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "pending",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
- https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in fifth request, `object_uri` of upload
|
||||
- bc17252b-811e-49d7-be3e-b7c538df9d30 - returned in 6th request, "type=input id source type image", used as parent of "pano"
|
||||
- 82f6b488-8afe-4311-9022-80ad5789ad92 - returned in 6th request, "type=pano id", used as parent of "world"
|
||||
- f08ec501-601c-47c6-a104-402d1820b8f0 - returned in 6th request, "type=world id"
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/recaption2
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/recaption2' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-a9ef13f4660e2f94-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"world_prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"text_prompt":""},"user_caption":""}'
|
||||
|
||||
Response:
|
||||
|
||||
{"caption":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ","title":"Cows Grazing in Indoor Pasture"}
|
||||
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/worlds' \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-84f963d495daade6-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"permission":{"public":true},"generation_input":{"model":"Marble 0.1-plus","prompt":{"type":"image","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"text_prompt":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "}}}'
|
||||
|
||||
Body Data:
|
||||
|
||||
{
|
||||
"permission": {
|
||||
"public": true
|
||||
},
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"
|
||||
},
|
||||
"text_prompt": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","display_name":null,"status":"INITIALIZING","error":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","created_at":1765756778,"updated_at":1765756778,"permission":{"public":true,"allowed_readers":[],"allowed_writers":[]},"stats":null,"application_data":null,"generation_input":{"model":"Marble 0.1-plus","seed":null,"prompt":{"type":"image","text_prompt":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ","image_prompt":{"uri":"https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png","data_base64":null,"extension":"png"},"is_pano":null}},"tags":null,"hq_mesh_export_op_id":null,"generation_output":null}
|
||||
|
||||
Response Pretty Print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"display_name": null,
|
||||
"status": "INITIALIZING",
|
||||
"error": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"created_at": 1765756778,
|
||||
"updated_at": 1765756778,
|
||||
"permission": {
|
||||
"public": true,
|
||||
"allowed_readers": [],
|
||||
"allowed_writers": []
|
||||
},
|
||||
"stats": null,
|
||||
"application_data": null,
|
||||
"generation_input": {
|
||||
"model": "Marble 0.1-plus",
|
||||
"seed": null,
|
||||
"prompt": {
|
||||
"type": "image",
|
||||
"text_prompt": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. ",
|
||||
"image_prompt": {
|
||||
"uri": "https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png",
|
||||
"data_base64": null,
|
||||
"extension": "png"
|
||||
},
|
||||
"is_pano": null
|
||||
}
|
||||
},
|
||||
"tags": null,
|
||||
"hq_mesh_export_op_id": null,
|
||||
"generation_output": null
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
- https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in fifth request, `object_uri` of upload
|
||||
- bc17252b-811e-49d7-be3e-b7c538df9d30 - returned in 6th request, "type=input id source type image", used as parent of "pano"
|
||||
- 82f6b488-8afe-4311-9022-80ad5789ad92 - returned in 6th request, "type=pano id", used as parent of "world"
|
||||
- f08ec501-601c-47c6-a104-402d1820b8f0 - returned in 6th request, "type=world id"
|
||||
- d60cfa21-5506-43de-9a9c-0707fc17a5ec - returned in 8th request, "world id"
|
||||
- https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png - returned in 8th request, "image prompt"
|
||||
|
||||
+160
@@ -0,0 +1,160 @@
|
||||
https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/79795b32-e44d-4333-bac1-05b2c9a3ea12
|
||||
|
||||
curl 'https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/79795b32-e44d-4333-bac1-05b2c9a3ea12' \
|
||||
-X PATCH \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjU3NTY0OTYsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NTc1NjQ5NiwiZXhwIjoxNzY1NzYwMDk2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJmaXJlYmFzZSI6eyJpZGVudGl0aWVzIjp7ImVtYWlsIjpbInNhYmFsaWQyMzRAY3JzYXkuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.XWTpmC30BtMCLYfUISHyHuqScL2E-T9uUhZGpbZlcaT0VxJpMTFlDuXAgQKRK1xlnwvmypaKZQizyzOl-CjxtA_W_9iiOfPvbZ66gG1ry7XLYtqT8rxunuEX0MldiTdZznHuB7oiel03GiR1cc74B-4RYeNhjm7VCVpMOVw2zyQ75f8y2aylDDk-3BLoir_cnEru-K97l8ywrcTLCosaAaT-7SkKre_UeIZuuC-MDbw2Ccq3tWNC4oZaHaxKZLuDDRmkapPvN8HJ2rubG506AQ1O007f6N2zHbJDmxgm1niDMuOLGNbOp7XDelxIBS_cRGEPhSJfCjmuGnkRAk4zdw' \
|
||||
-H 'baggage: sentry-environment=prod,sentry-release=rel-3d78b11,sentry-public_key=3779934420ee57f00d05e5fb1e57f79d,sentry-trace_id=602e8913a9bb4f9f94d2e730b1637158,sentry-org_id=4509005975388160,sentry-transaction=%2F(main)%2F_explore%2F,sentry-sampled=true,sentry-sample_rand=0.1775266372869313,sentry-sample_rate=1' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'sentry-trace: 602e8913a9bb4f9f94d2e730b1637158-8f4c2f0bc8fc4683-1' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw '{"object":{"metadata":{"version":"0.0.1","name":"Cows Grazing in Indoor Pasture","createdAt":1765756772176,"updatedAt":1765756779076,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bc17252b-811e-49d7-be3e-b7c538df9d30":{"id":"bc17252b-811e-49d7-be3e-b7c538df9d30","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"createdAt":1765756773647,"title":"Cows Grazing in Indoor Pasture","caption":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "},"82f6b488-8afe-4311-9022-80ad5789ad92":{"id":"82f6b488-8afe-4311-9022-80ad5789ad92","type":"pano","parentId":"bc17252b-811e-49d7-be3e-b7c538df9d30","source":{"type":"generate_world","world_id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","status":"pending"},"createdAt":1765756773647},"f08ec501-601c-47c6-a104-402d1820b8f0":{"id":"f08ec501-601c-47c6-a104-402d1820b8f0","type":"world","parentId":"82f6b488-8afe-4311-9022-80ad5789ad92","source":{"type":"generate_world","world_id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765756773647}}}},"update_mask":["metadata"]}'
|
||||
|
||||
Request Body:
|
||||
|
||||
{
|
||||
"object": {
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"name": "Cows Grazing in Indoor Pasture",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756779076,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bc17252b-811e-49d7-be3e-b7c538df9d30": {
|
||||
"id": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765756773647,
|
||||
"title": "Cows Grazing in Indoor Pasture",
|
||||
"caption": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "
|
||||
},
|
||||
"82f6b488-8afe-4311-9022-80ad5789ad92": {
|
||||
"id": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"type": "pano",
|
||||
"parentId": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"f08ec501-601c-47c6-a104-402d1820b8f0": {
|
||||
"id": "f08ec501-601c-47c6-a104-402d1820b8f0",
|
||||
"type": "world",
|
||||
"parentId": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"update_mask": [
|
||||
"metadata"
|
||||
]
|
||||
}
|
||||
|
||||
Response:
|
||||
|
||||
{"context":null,"id":"79795b32-e44d-4333-bac1-05b2c9a3ea12","display_name":null,"owner_id":"CArJJ2PQFFd8l2Rf8uptZhl86d33","status":"CREATED","created_at":1765756772,"updated_at":1765756779,"object_uri":null,"mime_type":"application/run+json","metadata":{"version":"0.0.1","name":"Cows Grazing in Indoor Pasture","createdAt":1765756772176,"updatedAt":1765756779076,"useAdvancedEditing":false,"draftMode":false,"nodes":{"bc17252b-811e-49d7-be3e-b7c538df9d30":{"id":"bc17252b-811e-49d7-be3e-b7c538df9d30","type":"input","parentId":null,"source":{"type":"image","image_url":"https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"},"createdAt":1765756773647,"title":"Cows Grazing in Indoor Pasture","caption":"The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "},"82f6b488-8afe-4311-9022-80ad5789ad92":{"id":"82f6b488-8afe-4311-9022-80ad5789ad92","type":"pano","parentId":"bc17252b-811e-49d7-be3e-b7c538df9d30","source":{"type":"generate_world","world_id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","status":"pending"},"createdAt":1765756773647},"f08ec501-601c-47c6-a104-402d1820b8f0":{"id":"f08ec501-601c-47c6-a104-402d1820b8f0","type":"world","parentId":"82f6b488-8afe-4311-9022-80ad5789ad92","source":{"type":"generate_world","world_id":"d60cfa21-5506-43de-9a9c-0707fc17a5ec","posed_cubemaps_url":"","minimap_url":"","minimap_metadata":"","status":"pending"},"createdAt":1765756773647}}}}
|
||||
|
||||
Response Pretty Print:
|
||||
|
||||
{
|
||||
"context": null,
|
||||
"id": "79795b32-e44d-4333-bac1-05b2c9a3ea12",
|
||||
"display_name": null,
|
||||
"owner_id": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"status": "CREATED",
|
||||
"created_at": 1765756772,
|
||||
"updated_at": 1765756779,
|
||||
"object_uri": null,
|
||||
"mime_type": "application/run+json",
|
||||
"metadata": {
|
||||
"version": "0.0.1",
|
||||
"name": "Cows Grazing in Indoor Pasture",
|
||||
"createdAt": 1765756772176,
|
||||
"updatedAt": 1765756779076,
|
||||
"useAdvancedEditing": false,
|
||||
"draftMode": false,
|
||||
"nodes": {
|
||||
"bc17252b-811e-49d7-be3e-b7c538df9d30": {
|
||||
"id": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"type": "input",
|
||||
"parentId": null,
|
||||
"source": {
|
||||
"type": "image",
|
||||
"image_url": "https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg"
|
||||
},
|
||||
"createdAt": 1765756773647,
|
||||
"title": "Cows Grazing in Indoor Pasture",
|
||||
"caption": "The scene is a surreal indoor agricultural environment, depicted with a realistic and slightly eerie tone, as rows of bright lights illuminate a vast, artificial pasture. The overall mood is quiet and contemplative, emphasizing the unusual juxtaposition of natural elements within a manufactured setting. Large herds of cattle are distributed across the lush, green grassy floor, peacefully grazing on the abundant vegetation. The entire space is encased within a massive, warehouse-like structure, supported by countless concrete columns that extend from the floor to the ceiling in an orderly grid. Above the columns, a network of metal beams forms the infrastructure of the roof, from which an extensive array of industrial lights is suspended. These lights are arranged in long, parallel lines, creating a striking visual perspective that converges towards a distant vanishing point at the center of the structure. The dense, vibrant green grass covers every inch of the ground, appearing soft and uniform, without any discernible paths or bare patches. Each cow is distinct, varying in color from black to brown and white, and each is engaged in individual grazing or resting. The concrete columns maintain a consistent light gray color and texture, creating a rhythmic architectural presence throughout the vast indoor landscape. To the right, another cluster of columns continues the architectural pattern, while the grassy expanse remains uninterrupted, extending toward the edges of the structure. "
|
||||
},
|
||||
"82f6b488-8afe-4311-9022-80ad5789ad92": {
|
||||
"id": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"type": "pano",
|
||||
"parentId": "bc17252b-811e-49d7-be3e-b7c538df9d30",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
},
|
||||
"f08ec501-601c-47c6-a104-402d1820b8f0": {
|
||||
"id": "f08ec501-601c-47c6-a104-402d1820b8f0",
|
||||
"type": "world",
|
||||
"parentId": "82f6b488-8afe-4311-9022-80ad5789ad92",
|
||||
"source": {
|
||||
"type": "generate_world",
|
||||
"world_id": "d60cfa21-5506-43de-9a9c-0707fc17a5ec",
|
||||
"posed_cubemaps_url": "",
|
||||
"minimap_url": "",
|
||||
"minimap_metadata": "",
|
||||
"status": "pending"
|
||||
},
|
||||
"createdAt": 1765756773647
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
=====================
|
||||
|
||||
IDs/UUIDs/Filenames thus far:
|
||||
|
||||
- CArJJ2PQFFd8l2Rf8uptZhl86d33 - returned in first request; "owner ID"
|
||||
- 79795b32-e44d-4333-bac1-05b2c9a3ea12 - returned in first request; "run ID"
|
||||
- uploaded_image_d008d227-9564-46f1-ba4e-9fcede900901.jpeg - sent in second request, `display_name` - `"upload filename"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf - returned in second request, "upload id"
|
||||
- 13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in third request, "upload id" with asset.jpg filename suffix
|
||||
- https://cdn.marble.worldlabs.ai/object/13ca760c-8ef9-4bf5-acc3-5a507fad3abf/asset.jpg - returned in fifth request, `object_uri` of upload
|
||||
- bc17252b-811e-49d7-be3e-b7c538df9d30 - returned in 6th request, "type=input id source type image", used as parent of "pano"
|
||||
- 82f6b488-8afe-4311-9022-80ad5789ad92 - returned in 6th request, "type=pano id", used as parent of "world"
|
||||
- f08ec501-601c-47c6-a104-402d1820b8f0 - returned in 6th request, "type=world id"
|
||||
- d60cfa21-5506-43de-9a9c-0707fc17a5ec - returned in 8th request, "world id"
|
||||
- https://cdn.marble.worldlabs.ai/d60cfa21-5506-43de-9a9c-0707fc17a5ec/c3edfcf7_image_prompt_sanitized.png - returned in 8th request, "image prompt"
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
|
||||
curl 'https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=AIzaSyAA88yObUN-0pnXAxcgOrT2exZxFWLW1BI' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'content-type: application/json' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'sec-ch-ua: "Google Chrome";v="143", "Chromium";v="143", "Not A(Brand";v="24"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "macOS"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36' \
|
||||
-H 'x-browser-channel: stable' \
|
||||
-H 'x-browser-copyright: Copyright 2025 Google LLC. All Rights reserved.' \
|
||||
-H 'x-browser-validation: AUXUCdutEJ+6gl6bYtz7E2kgIT4=' \
|
||||
-H 'x-browser-year: 2025' \
|
||||
-H 'x-client-data: CIe2yQEIorbJAQipncoBCKSCywEIlqHLAQiGoM0BCJSkzwE=' \
|
||||
-H 'x-client-version: Chrome/JsCore/12.6.0/FirebaseCore-web' \
|
||||
--data-raw '{"idToken":"eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk4OGQ1YTM3OWI3OGJkZjFlNTBhNDA5MTEzZjJiMGM3NWU0NTJlNDciLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjYwMDI5MjMsInVzZXJfaWQiOiJDQXJKSjJQUUZGZDhsMlJmOHVwdFpobDg2ZDMzIiwic3ViIjoiQ0FySkoyUFFGRmQ4bDJSZjh1cHRaaGw4NmQzMyIsImlhdCI6MTc2NjEyODA4NiwiZXhwIjoxNzY2MTMxNjg2LCJlbWFpbCI6InNhYmFsaWQyMzRAY3JzYXkuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsic2FiYWxpZDIzNEBjcnNheS5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.T1V-C-5dyNorLKXIE4aqi76RvwU5Fdw-YH0YOU_TQb7nNgKy1HsmQswssBFHw4KP2DKjvbZif4TIFJQTnsYAfCh1VvOVtHFUY-kGTRSU5wLPUbH_1EiOLgletGP6YeM3MiZq8fWG1VSWe6xmogmTfhSf3NcRW46L6GeJLXmJXPrHl6Hxszvr1aSmxm1Ee412bCN2hhgGcmTYm7-jaeT9MdnKddu-wv_5Bd6Eb5kCXZHvZIqgaWR_5ACMJq7zyefrCZUSISh3jTycRsVaFKvv09Mm_rJHFQbV2FXCNDx4S80nR7TyUd8SDehKiGsPRgUq-mGvCPBabk0dpAn73LAFrA"}'
|
||||
|
||||
|
||||
Response:
|
||||
|
||||
{
|
||||
"kind": "identitytoolkit#GetAccountInfoResponse",
|
||||
"users": [
|
||||
{
|
||||
"localId": "CArJJ2PQFFd8l2Rf8uptZhl86d33",
|
||||
"email": "sabalid234@crsay.com",
|
||||
"passwordHash": "UkVEQUNURUQ=",
|
||||
"emailVerified": true,
|
||||
"passwordUpdatedAt": 1765756496440,
|
||||
"providerUserInfo": [
|
||||
{
|
||||
"providerId": "password",
|
||||
"federatedId": "sabalid234@crsay.com",
|
||||
"email": "sabalid234@crsay.com",
|
||||
"rawId": "sabalid234@crsay.com"
|
||||
}
|
||||
],
|
||||
"validSince": "1765756496",
|
||||
"lastLoginAt": "1766098175534",
|
||||
"createdAt": "1765756496440",
|
||||
"lastRefreshAt": "2025-12-19T07:08:06.869541Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
|
||||
https://securetoken.googleapis.com/v1/token?key={REFRESH_TOKEN}
|
||||
|
||||
curl 'https://securetoken.googleapis.com/v1/token?key=AIzaSyAA88yObUN-0pnXAxcgOrT2exZxFWLW1BI' \
|
||||
--compressed \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'X-Client-Version: Firefox/JsCore/12.6.0/FirebaseCore-web' \
|
||||
-H 'X-Firebase-Client: eyJ2ZXJzaW9uIjoyLCJoZWFydGJlYXRzIjpbeyJhZ2VudCI6ImZpcmUtY29yZS8wLjE0LjYgZmlyZS1jb3JlLWVzbTIwMjAvMC4xNC42IGZpcmUtanMvIGZpcmUtanMtYWxsLWFwcC8xMi42LjAgZmlyZS1hdXRoLzEuMTEuMSBmaXJlLWF1dGgtZXNtMjAyMC8xLjExLjEiLCJkYXRlcyI6WyIyMDI1LTEyLTE5Il19XX0' \
|
||||
-H 'Content-Type: application/x-www-form-urlencoded' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
-H 'Priority: u=4' \
|
||||
-H 'TE: trailers' \
|
||||
--data-raw 'grant_type=refresh_token&refresh_token=AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778'
|
||||
|
||||
--data-raw '
|
||||
grant_type=refresh_token
|
||||
&refresh_token=AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778
|
||||
|
||||
|
||||
Response:
|
||||
|
||||
{
|
||||
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk4OGQ1YTM3OWI3OGJkZjFlNTBhNDA5MTEzZjJiMGM3NWU0NTJlNDciLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS0lucl8yWGJ2Z1VERUxNOEpCTGdfa2tKbVpxWl9WcTlzZkI2bVR4VmQzc1NJRk4tST1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2MDE3Nzk3OCwidXNlcl9pZCI6IjA1c0dhaHRySWdVMjVMaXR5NjhoZjRpMmV4SjIiLCJzdWIiOiIwNXNHYWh0cklnVTI1TGl0eTY4aGY0aTJleEoyIiwiaWF0IjoxNzY2MTI2ODg4LCJleHAiOjE3NjYxMzA0ODgsImVtYWlsIjoiYnRAYnJhbmQuaW8iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjEwNjEwODI2NzgzNTYyOTEwMTc1OSJdLCJlbWFpbCI6WyJidEBicmFuZC5pbyJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.YLXZHg0rzMzyhhyJsO3DSMhU8GjnxtQtg1GiDwaxZjuybmabqOcR_b4C2lE2XwESg_dDYnIkmdas9wsHshy2bGPCAAtrinQpxTHWhIDxy0bsF8yW0BCOszwVseiTkXd6vveaGYH06EvH-nM4Q5AB_oKbsgRyMEbXhepvX7SlrmeaXxqldCLRalDj6gcEIY_TSwMmjnZ6-sFMPe92YjLY1ITPRx7S3YyWNwBG6mVpgoHcHudNAJ4TFxborZlhC1zpF0NDgtIhN5ITg0I1P0A-JTaBTJHukQwCPKhifFRA1kfcxzbAoZyPiPw2DdgXpDDnNzXUYgnaOOVyGs96Tx8hOQ",
|
||||
"expires_in": "3600",
|
||||
"token_type": "Bearer",
|
||||
"refresh_token": "AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778",
|
||||
"id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk4OGQ1YTM3OWI3OGJkZjFlNTBhNDA5MTEzZjJiMGM3NWU0NTJlNDciLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS0lucl8yWGJ2Z1VERUxNOEpCTGdfa2tKbVpxWl9WcTlzZkI2bVR4VmQzc1NJRk4tST1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2MDE3Nzk3OCwidXNlcl9pZCI6IjA1c0dhaHRySWdVMjVMaXR5NjhoZjRpMmV4SjIiLCJzdWIiOiIwNXNHYWh0cklnVTI1TGl0eTY4aGY0aTJleEoyIiwiaWF0IjoxNzY2MTI2ODg4LCJleHAiOjE3NjYxMzA0ODgsImVtYWlsIjoiYnRAYnJhbmQuaW8iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjEwNjEwODI2NzgzNTYyOTEwMTc1OSJdLCJlbWFpbCI6WyJidEBicmFuZC5pbyJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.YLXZHg0rzMzyhhyJsO3DSMhU8GjnxtQtg1GiDwaxZjuybmabqOcR_b4C2lE2XwESg_dDYnIkmdas9wsHshy2bGPCAAtrinQpxTHWhIDxy0bsF8yW0BCOszwVseiTkXd6vveaGYH06EvH-nM4Q5AB_oKbsgRyMEbXhepvX7SlrmeaXxqldCLRalDj6gcEIY_TSwMmjnZ6-sFMPe92YjLY1ITPRx7S3YyWNwBG6mVpgoHcHudNAJ4TFxborZlhC1zpF0NDgtIhN5ITg0I1P0A-JTaBTJHukQwCPKhifFRA1kfcxzbAoZyPiPw2DdgXpDDnNzXUYgnaOOVyGs96Tx8hOQ",
|
||||
"user_id": "05sGahtrIgU25Lity68hf4i2exJ2",
|
||||
"project_id": "661553802735"
|
||||
}
|
||||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
This refreshed after an hour within the same open tab,
|
||||
|
||||
|
||||
curl 'https://securetoken.googleapis.com/v1/token?key=AIzaSyAA88yObUN-0pnXAxcgOrT2exZxFWLW1BI' \
|
||||
--compressed \
|
||||
-X POST \
|
||||
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0' \
|
||||
-H 'Accept: */*' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
|
||||
-H 'Referer: https://marble.worldlabs.ai/' \
|
||||
-H 'X-Client-Version: Firefox/JsCore/12.6.0/FirebaseCore-web' \
|
||||
-H 'Content-Type: application/x-www-form-urlencoded' \
|
||||
-H 'Origin: https://marble.worldlabs.ai' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Sec-Fetch-Dest: empty' \
|
||||
-H 'Sec-Fetch-Mode: cors' \
|
||||
-H 'Sec-Fetch-Site: cross-site' \
|
||||
--data-raw 'grant_type=refresh_token&refresh_token=AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778'
|
||||
|
||||
Response Payload:
|
||||
|
||||
{
|
||||
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk4OGQ1YTM3OWI3OGJkZjFlNTBhNDA5MTEzZjJiMGM3NWU0NTJlNDciLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS0lucl8yWGJ2Z1VERUxNOEpCTGdfa2tKbVpxWl9WcTlzZkI2bVR4VmQzc1NJRk4tST1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2MDE3Nzk3OCwidXNlcl9pZCI6IjA1c0dhaHRySWdVMjVMaXR5NjhoZjRpMmV4SjIiLCJzdWIiOiIwNXNHYWh0cklnVTI1TGl0eTY4aGY0aTJleEoyIiwiaWF0IjoxNzY2MTMyODExLCJleHAiOjE3NjYxMzY0MTEsImVtYWlsIjoiYnRAYnJhbmQuaW8iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjEwNjEwODI2NzgzNTYyOTEwMTc1OSJdLCJlbWFpbCI6WyJidEBicmFuZC5pbyJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.Fw26JeZxotd--PwRGvEZuSDddPN81sJ-VzsdaPihNsSLokXnak20U3scrqDJqMHLZtzP_HBKcCKfnhQIQo9iCCWXLjgJPKeLhT28f2w_Ycld4oKbImasnyCNCyEovuhJ7ndIdzL9ycSFQ318h2OZ95SQjHoY_kO3x_Ba6vY_eKM_fgS8zzDH9muSFkheq06aQhS02ZNeJX65zXBg6_jh-bJGSYcJGBbQQqc_excDSE79FgXMwHKysOJ_O7jaQdBXDgrt8Ratti0PsoNKk9TDjN4b9qTTWJYAT3yn7XX67lRJKtck4Y8LWh2Ca9KfnzSoFMHz5rO-pC21L51QS3If4Q",
|
||||
"expires_in": "3600",
|
||||
"token_type": "Bearer",
|
||||
"refresh_token": "AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778",
|
||||
"id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk4OGQ1YTM3OWI3OGJkZjFlNTBhNDA5MTEzZjJiMGM3NWU0NTJlNDciLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS0lucl8yWGJ2Z1VERUxNOEpCTGdfa2tKbVpxWl9WcTlzZkI2bVR4VmQzc1NJRk4tST1zOTYtYyIsImlzcyI6Imh0dHBzOi8vc2VjdXJldG9rZW4uZ29vZ2xlLmNvbS93bHQtdHJhaW5pbmctZ3NjIiwiYXVkIjoid2x0LXRyYWluaW5nLWdzYyIsImF1dGhfdGltZSI6MTc2MDE3Nzk3OCwidXNlcl9pZCI6IjA1c0dhaHRySWdVMjVMaXR5NjhoZjRpMmV4SjIiLCJzdWIiOiIwNXNHYWh0cklnVTI1TGl0eTY4aGY0aTJleEoyIiwiaWF0IjoxNzY2MTMyODExLCJleHAiOjE3NjYxMzY0MTEsImVtYWlsIjoiYnRAYnJhbmQuaW8iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6eyJnb29nbGUuY29tIjpbIjEwNjEwODI2NzgzNTYyOTEwMTc1OSJdLCJlbWFpbCI6WyJidEBicmFuZC5pbyJdfSwic2lnbl9pbl9wcm92aWRlciI6Imdvb2dsZS5jb20ifX0.Fw26JeZxotd--PwRGvEZuSDddPN81sJ-VzsdaPihNsSLokXnak20U3scrqDJqMHLZtzP_HBKcCKfnhQIQo9iCCWXLjgJPKeLhT28f2w_Ycld4oKbImasnyCNCyEovuhJ7ndIdzL9ycSFQ318h2OZ95SQjHoY_kO3x_Ba6vY_eKM_fgS8zzDH9muSFkheq06aQhS02ZNeJX65zXBg6_jh-bJGSYcJGBbQQqc_excDSE79FgXMwHKysOJ_O7jaQdBXDgrt8Ratti0PsoNKk9TDjN4b9qTTWJYAT3yn7XX67lRJKtck4Y8LWh2Ca9KfnzSoFMHz5rO-pC21L51QS3If4Q",
|
||||
"user_id": "05sGahtrIgU25Lity68hf4i2exJ2",
|
||||
"project_id": "661553802735"
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
|
||||
curl 'https://securetoken.googleapis.com/v1/token?key=AIzaSyAA88yObUN-0pnXAxcgOrT2exZxFWLW1BI' \
|
||||
-H 'accept: */*' \
|
||||
-H 'accept-language: en-US,en;q=0.9' \
|
||||
-H 'cache-control: no-cache' \
|
||||
-H 'content-type: application/x-www-form-urlencoded' \
|
||||
-H 'origin: https://marble.worldlabs.ai' \
|
||||
-H 'pragma: no-cache' \
|
||||
-H 'priority: u=1, i' \
|
||||
-H 'referer: https://marble.worldlabs.ai/' \
|
||||
-H 'sec-ch-ua: "Google Chrome";v="143", "Chromium";v="143", "Not A(Brand";v="24"' \
|
||||
-H 'sec-ch-ua-mobile: ?0' \
|
||||
-H 'sec-ch-ua-platform: "macOS"' \
|
||||
-H 'sec-fetch-dest: empty' \
|
||||
-H 'sec-fetch-mode: cors' \
|
||||
-H 'sec-fetch-site: cross-site' \
|
||||
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36' \
|
||||
-H 'x-browser-channel: stable' \
|
||||
-H 'x-browser-copyright: Copyright 2025 Google LLC. All Rights reserved.' \
|
||||
-H 'x-browser-validation: AUXUCdutEJ+6gl6bYtz7E2kgIT4=' \
|
||||
-H 'x-browser-year: 2025' \
|
||||
-H 'x-client-data: CIe2yQEIorbJAQipncoBCKSCywEIlqHLAQiGoM0BCJSkzwE=' \
|
||||
-H 'x-client-version: Chrome/JsCore/12.6.0/FirebaseCore-web' \
|
||||
-H 'x-firebase-client: eyJ2ZXJzaW9uIjoyLCJoZWFydGJlYXRzIjpbeyJhZ2VudCI6ImZpcmUtY29yZS8wLjE0LjYgZmlyZS1jb3JlLWVzbTIwMjAvMC4xNC42IGZpcmUtanMvIGZpcmUtanMtYWxsLWFwcC8xMi42LjAgZmlyZS1hdXRoLzEuMTEuMSBmaXJlLWF1dGgtZXNtMjAyMC8xLjExLjEiLCJkYXRlcyI6WyIyMDI1LTEyLTE5Il19XX0' \
|
||||
--data-raw 'grant_type=refresh_token&refresh_token=AMf-vBxnsxb_SP5MCL4zFK1uVPwHfID_5ekdzWmx89DFJdabIY8qrjbyfLEkRZcEnm8FtDYVfGKMvMhRbzgjVDzDUvegVTcYrJwable0MD-7HqIh9eNjfex03-dQthIR-sZFMm90Vw2AXMeR938gpHT7A4nt50skiMzCuQ9wjXteSKWJq1tHqUBjsQlU4jXCrempkTuSRqasbiMkYB9IqywwS2JlCg3XI6sOo_oaLLePJOQ5pwOGraQkcMd6jlyQDPtQY2mxg2oo3PA2v3dA4ebFYJSTH1CDnVAvtdYiWozrNgruD792unWJnn9Mw4aqwMgx_hK_ZecPmi8ZQ_uTwR-TMk4abT8zoOGAexxqQ-Q0dvrnyktQO--a_9YI7oeCG1BlxDzJUqSS0DELB1i0QOlBw3A3AUptYA1uaxxhz_VwX-0Qq4VybcDlvFzp65u6RUh_VEZcQlyt'
|
||||
|
||||
{
|
||||
"access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS2UtZXRkc3Q0QjBIbXJ6d3ptTG4xTG45Uko4X2lhYzN5czhqRWhtOWZEdTdYM0QxSTA9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjM0MTU5MDAsInVzZXJfaWQiOiJmN01odFFLM295WWlZdnNldE1IWW1rYWtpcnYyIiwic3ViIjoiZjdNaHRRSzNveVlpWXZzZXRNSFlta2FraXJ2MiIsImlhdCI6MTc2NjEzNTY1NSwiZXhwIjoxNzY2MTM5MjU1LCJlbWFpbCI6ImVjaGVsb25AZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTYwMTEyMDc0OTIzOTUyMDAzOTYiXSwiZW1haWwiOlsiZWNoZWxvbkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJnb29nbGUuY29tIn19.S100Y7_GDtt7g8bGxMyG9NKY-f1XvsnTTISCdk3foBcRsSgyKTNi99uP2nKQzOy4XZCdL_PCcNz4WZgoJ6mHqvjms6CdbDGky9GxZ19--I9lomRFDErv33hebSA-z-PzUVUKe55iz_Y69gmvCC6I1nLRueDGn4jI5zLN-rLlpRSFZ6zhcbAsE92EdOGYE_mwiPLqxO4LyEgUnAlTfHnXCrLSf_92VILJNBboEJaQ9wMgAV41FaMgovBu8Zu-YC2Y_iRztcce9JhgRhBH6XkIc1yz2qtdaBqF5HACgoL90u5Iic-M9wdRqquR20TayJ3C4m9XG3-9OaqHF86U-6r1VQ",
|
||||
"expires_in": "3600",
|
||||
"token_type": "Bearer",
|
||||
"refresh_token": "AMf-vBxnsxb_SP5MCL4zFK1uVPwHfID_5ekdzWmx89DFJdabIY8qrjbyfLEkRZcEnm8FtDYVfGKMvMhRbzgjVDzDUvegVTcYrJwable0MD-7HqIh9eNjfex03-dQthIR-sZFMm90Vw2AXMeR938gpHT7A4nt50skiMzCuQ9wjXteSKWJq1tHqUBjsQlU4jXCrempkTuSRqasbiMkYB9IqywwS2JlCg3XI6sOo_oaLLePJOQ5pwOGraQkcMd6jlyQDPtQY2mxg2oo3PA2v3dA4ebFYJSTH1CDnVAvtdYiWozrNgruD792unWJnn9Mw4aqwMgx_hK_ZecPmi8ZQ_uTwR-TMk4abT8zoOGAexxqQ-Q0dvrnyktQO--a_9YI7oeCG1BlxDzJUqSS0DELB1i0QOlBw3A3AUptYA1uaxxhz_VwX-0Qq4VybcDlvFzp65u6RUh_VEZcQlyt",
|
||||
"id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4MTFiMDdmMjhiODQxZjRiNDllNDgyNTg1ZmQ2NmQ1NWUzOGRiNWQiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiQnJhbmRvbiBUaG9tYXMiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS2UtZXRkc3Q0QjBIbXJ6d3ptTG4xTG45Uko4X2lhYzN5czhqRWhtOWZEdTdYM0QxSTA9czk2LWMiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2x0LXRyYWluaW5nLWdzYyIsImF1ZCI6IndsdC10cmFpbmluZy1nc2MiLCJhdXRoX3RpbWUiOjE3NjM0MTU5MDAsInVzZXJfaWQiOiJmN01odFFLM295WWlZdnNldE1IWW1rYWtpcnYyIiwic3ViIjoiZjdNaHRRSzNveVlpWXZzZXRNSFlta2FraXJ2MiIsImlhdCI6MTc2NjEzNTY1NSwiZXhwIjoxNzY2MTM5MjU1LCJlbWFpbCI6ImVjaGVsb25AZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZ29vZ2xlLmNvbSI6WyIxMTYwMTEyMDc0OTIzOTUyMDAzOTYiXSwiZW1haWwiOlsiZWNoZWxvbkBnbWFpbC5jb20iXX0sInNpZ25faW5fcHJvdmlkZXIiOiJnb29nbGUuY29tIn19.S100Y7_GDtt7g8bGxMyG9NKY-f1XvsnTTISCdk3foBcRsSgyKTNi99uP2nKQzOy4XZCdL_PCcNz4WZgoJ6mHqvjms6CdbDGky9GxZ19--I9lomRFDErv33hebSA-z-PzUVUKe55iz_Y69gmvCC6I1nLRueDGn4jI5zLN-rLlpRSFZ6zhcbAsE92EdOGYE_mwiPLqxO4LyEgUnAlTfHnXCrLSf_92VILJNBboEJaQ9wMgAV41FaMgovBu8Zu-YC2Y_iRztcce9JhgRhBH6XkIc1yz2qtdaBqF5HACgoL90u5Iic-M9wdRqquR20TayJ3C4m9XG3-9OaqHF86U-6r1VQ",
|
||||
"user_id": "f7MhtQK3oyYiYvsetMHYmkakirv2",
|
||||
"project_id": "661553802735"
|
||||
}
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
use crate::api::api_types::upload_mime_type::UploadMimeType;
|
||||
use crate::api::common::common_header_values::{ORIGIN_VALUE, REFERER_VALUE};
|
||||
use crate::credentials::world_labs_bearer_token::WorldLabsBearerToken;
|
||||
use crate::credentials::world_labs_cookies::WorldLabsCookies;
|
||||
use crate::credentials::worldlabs_refresh_token::WorldLabsRefreshToken;
|
||||
use crate::error::world_labs_client_error::WorldLabsClientError;
|
||||
use crate::error::world_labs_error::WorldLabsError;
|
||||
use crate::error::world_labs_generic_api_error::WorldLabsGenericApiError;
|
||||
use crate::error::world_labs_specific_api_error::WorldLabsSpecificApiError;
|
||||
use http_headers::names::{PRIORITY, SEC_FETCH_DEST, SEC_FETCH_MODE, SEC_FETCH_SITE, SEC_GPC};
|
||||
use http_headers::values::accept::ACCEPT_ALL;
|
||||
use http_headers::values::accept_encoding::ACCEPT_ENCODING_GZIP_ETC;
|
||||
use http_headers::values::accept_language::ACCEPT_LANGUAGE_EN_US;
|
||||
use http_headers::values::cache_control::CACHE_CONTROL_NO_CACHE;
|
||||
use http_headers::values::connection::CONNECTION_KEEP_ALIVE;
|
||||
use http_headers::values::pragma::PRAGMA_NO_CACHE;
|
||||
use http_headers::values::priority::{PRIORITY_4, PRIORITY_6};
|
||||
use http_headers::values::sec::{SEC_FETCH_DEST_EMPTY, SEC_FETCH_MODE_CORS, SEC_FETCH_SITE_CROSS_SITE};
|
||||
use http_headers::values::te::TE_TRAILERS;
|
||||
use log::{debug, error};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
use std::time::Duration;
|
||||
use wreq::header::{ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, AUTHORIZATION, CACHE_CONTROL, CONNECTION, CONTENT_LENGTH, CONTENT_TYPE, ORIGIN, PRAGMA, REFERER, TE};
|
||||
use wreq::multipart::Form;
|
||||
use wreq::Client;
|
||||
use wreq_util::Emulation;
|
||||
|
||||
/// NB: key is the public API key for WorldLabs
|
||||
/// https://docs.cloud.google.com/identity-platform/docs/use-rest-api
|
||||
const URL : &str = "https://securetoken.googleapis.com/v1/token?key=AIzaSyAA88yObUN-0pnXAxcgOrT2exZxFWLW1BI";
|
||||
pub struct GoogleRefreshTokenArgs<'a> {
|
||||
pub refresh_token: &'a WorldLabsRefreshToken,
|
||||
pub request_timeout: Option<Duration>,
|
||||
}
|
||||
|
||||
pub struct GoogleRefreshTokenResponse {
|
||||
pub bearer_token: WorldLabsBearerToken,
|
||||
pub refresh_token: WorldLabsRefreshToken,
|
||||
}
|
||||
|
||||
/// Refresh Access Token for WorldLabs using Google.
|
||||
pub async fn google_refresh_token(args: GoogleRefreshTokenArgs<'_>) -> Result<GoogleRefreshTokenResponse, WorldLabsError> {
|
||||
let client = Client::builder()
|
||||
.emulation(Emulation::Firefox143)
|
||||
.build()
|
||||
.map_err(|err| WorldLabsClientError::WreqClientError(err))?;
|
||||
|
||||
|
||||
debug!("Requesting URL: {}", URL);
|
||||
|
||||
let mut request_builder = client.post(URL)
|
||||
.header(ACCEPT, ACCEPT_ALL)
|
||||
.header(ACCEPT_LANGUAGE, ACCEPT_LANGUAGE_EN_US)
|
||||
.header(ACCEPT_ENCODING, ACCEPT_ENCODING_GZIP_ETC)
|
||||
.header(REFERER, REFERER_VALUE)
|
||||
.header(CONNECTION, CONNECTION_KEEP_ALIVE)
|
||||
.header(SEC_FETCH_DEST, SEC_FETCH_DEST_EMPTY)
|
||||
.header(SEC_FETCH_MODE, SEC_FETCH_MODE_CORS)
|
||||
.header(SEC_FETCH_SITE, SEC_FETCH_SITE_CROSS_SITE)
|
||||
.header(PRIORITY, PRIORITY_4)
|
||||
.header(TE, TE_TRAILERS);
|
||||
|
||||
let mut form = HashMap::new();
|
||||
form.insert("grant_type", "refresh_token".to_string());
|
||||
form.insert("refresh_token", args.refresh_token.to_raw_string());
|
||||
|
||||
if let Some(timeout) = args.request_timeout {
|
||||
request_builder = request_builder.timeout(timeout);
|
||||
}
|
||||
|
||||
let http_request = request_builder
|
||||
.form(&form)
|
||||
.build()
|
||||
.map_err(|err| {
|
||||
error!("Error building request: {:?}", err);
|
||||
WorldLabsClientError::WreqClientError(err)
|
||||
})?;
|
||||
|
||||
let response = client.execute(http_request)
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error during request execution: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
let status = response.status();
|
||||
|
||||
let response_body = response.text()
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error reading response body: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
if !status.is_success() {
|
||||
error!("Request returned an error (code {}) : {:?}", status.as_u16(), response_body);
|
||||
|
||||
if response_body.contains("SignatureDoesNotMatch") || response_body.contains("does not match the signature") {
|
||||
return Err(WorldLabsSpecificApiError::GoogleUploadSignatureDoesNotMatch.into());
|
||||
} else {
|
||||
return Err(WorldLabsGenericApiError::GoogleUploadFailed { status_code: status, body: response_body }.into());
|
||||
}
|
||||
}
|
||||
|
||||
debug!("Response body (200): {}", response_body);
|
||||
|
||||
let response : RawResponse = serde_json::from_str(&response_body)
|
||||
.map_err(|err| WorldLabsGenericApiError::SerdeResponseParseErrorWithBody(err, response_body.to_string()))?;
|
||||
|
||||
let bearer_token = WorldLabsBearerToken::new(response.access_token);
|
||||
let refresh_token = WorldLabsRefreshToken::new(response.refresh_token);
|
||||
|
||||
Ok(GoogleRefreshTokenResponse {
|
||||
bearer_token,
|
||||
refresh_token,
|
||||
})
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
struct RawResponse {
|
||||
pub access_token: String,
|
||||
pub refresh_token: String,
|
||||
|
||||
// eg. "3600"
|
||||
pub expires_in: Option<String>,
|
||||
pub id_token: Option<String>,
|
||||
pub user_id: Option<String>,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::api::requests::google_refresh_token::google_refresh_token::{google_refresh_token, GoogleRefreshTokenArgs};
|
||||
use crate::credentials::worldlabs_refresh_token::WorldLabsRefreshToken;
|
||||
use crate::test_utils::setup_test_logging::setup_test_logging;
|
||||
use errors::AnyhowResult;
|
||||
use log::LevelFilter;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore] // Client side tests only
|
||||
async fn test_requests() -> AnyhowResult<()> {
|
||||
setup_test_logging(LevelFilter::Debug);
|
||||
|
||||
let refresh_token = "AMf-vByUgA0J9S93vULECe-sD50cbR85AFVYF60gKAmLFF1MBYwXlKRJCsv7z3oSpLtP0ApyOU5fAl52qHWM2U0yKgEu5gQ5UCUDt5SEG4UBRHWvHEmLLcu-Zl04Fq4ljocSEO3qJzuX1wyshmptZxlDPRkjdLYgyn-Kp03woI2yRPKLuQF5hQtABHabsNUh9Zhs129sgxuUlOuw4zsFI4L8UdE3bEuF3k6Mic7KlE3440YwyQ8Qtmk9zHtXIx2ob56N-1WTGSqwMUuQ1mX4OOvLve9bw2zDW3UzchomTWkh732886RPrP-DNRkPbO3FejUEMxuYQFWYX3EEeIEdfNGXFNGPL1dNniSXlSaKadpX699Ishjviv-x9o-pPQa3zoAj3NzWLyd8mn5rDBh9qAO_iDETaeo01Sjhb4mGYfAWZ-g4S6nW778";
|
||||
let refresh_token = WorldLabsRefreshToken::new(refresh_token.to_string());
|
||||
|
||||
let result = google_refresh_token(GoogleRefreshTokenArgs {
|
||||
refresh_token: &refresh_token,
|
||||
request_timeout: None,
|
||||
}).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod google_refresh_token;
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
use crate::api::api_types::upload_mime_type::UploadMimeType;
|
||||
use crate::api::common::common_header_values::{ORIGIN_VALUE, REFERER_VALUE};
|
||||
use crate::credentials::world_labs_bearer_token::WorldLabsBearerToken;
|
||||
use crate::credentials::world_labs_cookies::WorldLabsCookies;
|
||||
use crate::error::world_labs_client_error::WorldLabsClientError;
|
||||
use crate::error::world_labs_error::WorldLabsError;
|
||||
use crate::error::world_labs_generic_api_error::WorldLabsGenericApiError;
|
||||
use crate::error::world_labs_specific_api_error::WorldLabsSpecificApiError;
|
||||
use http_headers::names::{PRIORITY, SEC_FETCH_DEST, SEC_FETCH_MODE, SEC_FETCH_SITE, SEC_GPC};
|
||||
use http_headers::values::accept::ACCEPT_ALL;
|
||||
use http_headers::values::cache_control::CACHE_CONTROL_NO_CACHE;
|
||||
use http_headers::values::connection::CONNECTION_KEEP_ALIVE;
|
||||
use http_headers::values::pragma::PRAGMA_NO_CACHE;
|
||||
use http_headers::values::priority::PRIORITY_6;
|
||||
use http_headers::values::sec::{SEC_FETCH_DEST_EMPTY, SEC_FETCH_MODE_CORS, SEC_FETCH_SITE_CROSS_SITE};
|
||||
use http_headers::values::te::TE_TRAILERS;
|
||||
use log::{debug, error};
|
||||
use serde::Serialize;
|
||||
use std::time::Duration;
|
||||
use wreq::header::{ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, AUTHORIZATION, CACHE_CONTROL, CONNECTION, CONTENT_LENGTH, CONTENT_TYPE, ORIGIN, PRAGMA, REFERER, TE};
|
||||
use wreq::Client;
|
||||
use wreq_util::Emulation;
|
||||
|
||||
pub struct GoogleUploadImageArgs<'a> {
|
||||
pub upload_url: &'a str,
|
||||
pub upload_mime_type: UploadMimeType,
|
||||
pub file_bytes: Vec<u8>,
|
||||
pub request_timeout: Option<Duration>,
|
||||
}
|
||||
|
||||
/// Marble Image-to-World
|
||||
/// Upload the binary to GCP using the signed URL
|
||||
/// Request #4 (of ~10)
|
||||
pub async fn google_upload_image(args: GoogleUploadImageArgs<'_>) -> Result<(), WorldLabsError> {
|
||||
let client = Client::builder()
|
||||
.emulation(Emulation::Firefox143)
|
||||
.build()
|
||||
.map_err(|err| WorldLabsClientError::WreqClientError(err))?;
|
||||
|
||||
let content_type = args.upload_mime_type.content_type();
|
||||
|
||||
debug!("Requesting URL: {}", args.upload_url);
|
||||
|
||||
let mut request_builder = client.put(args.upload_url)
|
||||
.header(CONTENT_TYPE, content_type)
|
||||
.header("x-goog-content-length-range", "0,1048576000");
|
||||
|
||||
if let Some(timeout) = args.request_timeout {
|
||||
request_builder = request_builder.timeout(timeout);
|
||||
}
|
||||
|
||||
let http_request = request_builder
|
||||
.body(args.file_bytes)
|
||||
.build()
|
||||
.map_err(|err| {
|
||||
error!("Error building request: {:?}", err);
|
||||
WorldLabsClientError::WreqClientError(err)
|
||||
})?;
|
||||
|
||||
let response = client.execute(http_request)
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error during request execution: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
let status = response.status();
|
||||
|
||||
let response_body = response.text()
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error reading response body: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
if !status.is_success() {
|
||||
error!("Request returned an error (code {}) : {:?}", status.as_u16(), response_body);
|
||||
|
||||
if response_body.contains("SignatureDoesNotMatch") || response_body.contains("does not match the signature") {
|
||||
return Err(WorldLabsSpecificApiError::GoogleUploadSignatureDoesNotMatch.into());
|
||||
} else {
|
||||
return Err(WorldLabsGenericApiError::GoogleUploadFailed { status_code: status, body: response_body }.into());
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod google_upload_image;
|
||||
@@ -0,0 +1,5 @@
|
||||
pub mod google_upload;
|
||||
pub mod objects;
|
||||
pub mod recaption;
|
||||
pub mod worlds;
|
||||
pub mod google_refresh_token;
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
use crate::api::api_types::run_object_id::RunObjectId;
|
||||
use crate::api::api_types::upload_object_id::UploadObjectId;
|
||||
use crate::api::api_types::upload_mime_type::UploadMimeType;
|
||||
use crate::api::common::common_header_values::{ORIGIN_VALUE, REFERER_VALUE};
|
||||
use crate::credentials::world_labs_bearer_token::WorldLabsBearerToken;
|
||||
use crate::credentials::world_labs_cookies::WorldLabsCookies;
|
||||
use crate::error::world_labs_client_error::WorldLabsClientError;
|
||||
use crate::error::world_labs_error::WorldLabsError;
|
||||
use crate::error::world_labs_generic_api_error::WorldLabsGenericApiError;
|
||||
use chrono::Utc;
|
||||
use http_headers::names::{PRIORITY, SEC_FETCH_DEST, SEC_FETCH_MODE, SEC_FETCH_SITE, SEC_GPC};
|
||||
use http_headers::values::accept::ACCEPT_ALL;
|
||||
use http_headers::values::cache_control::CACHE_CONTROL_NO_CACHE;
|
||||
use http_headers::values::connection::CONNECTION_KEEP_ALIVE;
|
||||
use http_headers::values::content_type::CONTENT_TYPE_APPLICATION_JSON;
|
||||
use http_headers::values::pragma::PRAGMA_NO_CACHE;
|
||||
use http_headers::values::priority::PRIORITY_4;
|
||||
use http_headers::values::sec::{SEC_FETCH_DEST_EMPTY, SEC_FETCH_MODE_CORS, SEC_FETCH_SITE_CROSS_SITE};
|
||||
use http_headers::values::te::TE_TRAILERS;
|
||||
use log::{debug, error, info};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::time::Duration;
|
||||
use uuid::Uuid;
|
||||
use wreq::header::{ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, AUTHORIZATION, CACHE_CONTROL, CONNECTION, CONTENT_LENGTH, CONTENT_TYPE, ORIGIN, PRAGMA, REFERER, TE};
|
||||
use wreq::Client;
|
||||
use wreq_util::Emulation;
|
||||
|
||||
const BASE_URL : &str = "https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects";
|
||||
|
||||
fn get_url(upload_id: &UploadObjectId) -> String {
|
||||
format!("{}/{}:upload", BASE_URL, upload_id.0)
|
||||
}
|
||||
|
||||
pub struct BeginObjectImageUploadArgs<'a> {
|
||||
pub cookies: &'a WorldLabsCookies,
|
||||
pub bearer_token: &'a WorldLabsBearerToken,
|
||||
pub upload_mime_type: UploadMimeType,
|
||||
pub upload_id: &'a UploadObjectId,
|
||||
pub request_timeout: Option<Duration>,
|
||||
}
|
||||
|
||||
pub struct BeginObjectImageUploadResponse {
|
||||
pub upload_url: String,
|
||||
}
|
||||
|
||||
/// Marble Image-to-World
|
||||
/// This request follows object attachment and signals upload. It returns the upload URL.
|
||||
/// Request #3 (of ~10)
|
||||
pub async fn begin_object_image_upload(args: BeginObjectImageUploadArgs<'_>) -> Result<BeginObjectImageUploadResponse, WorldLabsError> {
|
||||
let client = Client::builder()
|
||||
.emulation(Emulation::Firefox143)
|
||||
.build()
|
||||
.map_err(|err| WorldLabsClientError::WreqClientError(err))?;
|
||||
|
||||
let url = get_url(args.upload_id);
|
||||
|
||||
debug!("Requesting URL: {}", url);
|
||||
|
||||
let mut request_builder = client.post(url)
|
||||
.header(ACCEPT, ACCEPT_ALL)
|
||||
.header(ACCEPT_LANGUAGE, "en-US,en;q=0.5")
|
||||
.header(ACCEPT_ENCODING, "gzip, deflate, br, zstd")
|
||||
.header(REFERER, REFERER_VALUE)
|
||||
.header(CONTENT_TYPE, CONTENT_TYPE_APPLICATION_JSON)
|
||||
.header(AUTHORIZATION, args.bearer_token.to_bearer_token_header_string())
|
||||
.header(ORIGIN, ORIGIN_VALUE)
|
||||
.header(SEC_GPC, "1")
|
||||
.header(CONNECTION, CONNECTION_KEEP_ALIVE)
|
||||
.header(SEC_FETCH_DEST, SEC_FETCH_DEST_EMPTY)
|
||||
.header(SEC_FETCH_MODE, SEC_FETCH_MODE_CORS)
|
||||
.header(SEC_FETCH_SITE, SEC_FETCH_SITE_CROSS_SITE)
|
||||
.header(PRIORITY, PRIORITY_4)
|
||||
.header(PRAGMA, PRAGMA_NO_CACHE)
|
||||
.header(CACHE_CONTROL, CACHE_CONTROL_NO_CACHE)
|
||||
.header(CONTENT_LENGTH, 0)
|
||||
.header(TE, TE_TRAILERS);
|
||||
|
||||
if let Some(timeout) = args.request_timeout {
|
||||
request_builder = request_builder.timeout(timeout);
|
||||
}
|
||||
|
||||
let http_request = request_builder
|
||||
.build()
|
||||
.map_err(|err| {
|
||||
error!("Error building request: {:?}", err);
|
||||
WorldLabsClientError::WreqClientError(err)
|
||||
})?;
|
||||
|
||||
let response = client.execute(http_request)
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error during request execution: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
let status = response.status();
|
||||
|
||||
let response_body = response.text()
|
||||
.await
|
||||
.map_err(|err| {
|
||||
error!("Error reading response body: {:?}", err);
|
||||
WorldLabsGenericApiError::WreqError(err)
|
||||
})?;
|
||||
|
||||
// TODO: Handle errors (Cloudflare, Grok, etc.)
|
||||
if !status.is_success() {
|
||||
error!("Request returned an error (code {}) : {:?}", status.as_u16(), response_body);
|
||||
//return Err(classify_general_http_status_code_and_body(status, response_body));
|
||||
return Err(WorldLabsGenericApiError::UncategorizedBadResponseWithStatusAndBody { status_code: status, body: response_body}.into())
|
||||
}
|
||||
|
||||
debug!("Response body (200) (ready for Google upload): {}", response_body);
|
||||
|
||||
let response : RawResponse = serde_json::from_str(&response_body)
|
||||
.map_err(|err| WorldLabsGenericApiError::SerdeResponseParseErrorWithBody(err, response_body.to_string()))?;
|
||||
|
||||
info!("Curl command: {}", response.curl_example);
|
||||
|
||||
Ok(BeginObjectImageUploadResponse {
|
||||
upload_url: response.upload_url,
|
||||
})
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
struct RawResponse {
|
||||
/// eg. "https://storage.googleapis.com/wlt-training-gsc-marble-assets-prod/temp/objects/{...}",
|
||||
pub upload_url: String,
|
||||
|
||||
/// Just for debugging, the server reports a test cURL command
|
||||
pub curl_example: String,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::api::api_types::upload_object_id::UploadObjectId;
|
||||
use crate::api::requests::objects::begin_object_image_upload::get_url;
|
||||
|
||||
#[test]
|
||||
fn test_get_url() {
|
||||
let upload_id = UploadObjectId("foo-bar-baz-bin".to_string());
|
||||
let expected = "https://marble2-kgw-prod-iac1.wlt-ai.art/api/v1/objects/foo-bar-baz-bin:upload";
|
||||
assert_eq!(get_url(&upload_id), expected);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user