Read a published project
A published Cinema Studio project's page, under its author's profile: its cover and film, its words, its info card (views, generations, credits spent while its author shows them, size, dates), its …
curl https://api.auray.ai/v1/community/profiles/ada/projects/…import { createClient } from "@auray/client";
const auray = createClient(); // this route needs no key
const answer = await auray.platform.community.projects.get("ada", "…");
console.dir(answer, { depth: null });from auray_client import Client
auray = Client() # this route needs no key
answer = auray.platform.community.projects.get("ada", "…")
print(answer)const res = await fetch("https://api.auray.ai/v1/community/profiles/ada/projects/…", {
method: "GET",
});
console.log(await res.json());import requests
r = requests.get(
"https://api.auray.ai/v1/community/profiles/ada/projects/…",
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/community/profiles/ada/projects/…", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/community/profiles/ada/projects/…");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/community/profiles/ada/projects/…")
req = Net::HTTP::Get.new(uri)
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/community/profiles/ada/projects/…"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/community/profiles/ada/projects/…");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"publication_id": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"category": "<string>",
"author": {},
"cover": [
{
"role": "<string>",
"position": 123,
"url": "<string>",
"content_type": "<string>",
"width": 123,
"height": 123,
"duration_ms": 123,
"supplied": true
}
],
"film": {},
"folders": [
{
"id": "<string>",
"name": "<string>",
"system": "<string>",
"count": 123
}
],
"counts": {
"likes": 123,
"views": 123,
"comments": 123,
"remixes": 123
},
"liked": true,
"info": {
"views": 123,
"generations": 123,
"credits_spent": 123,
"bytes": 123,
"created_at": "<string>",
"published_at": "<string>",
"updated_at": "<string>"
},
"stack": [
{
"model": {
"address": "<string>",
"id": "<string>",
"label": "<string>"
},
"tenths": 123,
"percent": 123,
"count": 123,
"color": "<string>",
"other": true
}
],
"powered_by": "<string>",
"show_prompts": true,
"show_canvas": true,
"canvases": {},
"listed": true,
"snapshot_id": "<string>",
"licence_version": "<string>",
"published_at": "<string>",
"url": "<string>",
"moved_from": "<string>",
"mine": {
"state": "<string>",
"state_reason": "<string>",
"approval": "<string>",
"approval_reason": "<string>",
"discoverable": true,
"profile_pinned": true,
"held": true,
"licence_version": "<string>",
"created_at": "<string>"
},
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}A published Cinema Studio project's page, under its author's profile: its cover and film, its words, its info card (views, generations, credits spent while its author shows them, size, dates), its Stack, its folders, and its canvases while its author shows them — read-only, as a reader may see them. Shown once published, whether or not our team approved it for the feeds; a hidden, withdrawn or removed one answers 404 except to its author. A handle its creator replaced within the hold still leads here, with moved_from. Takes no key. A key that holds community:write reads as its account — its likes filled in, and its author told where it stands in mine — and any other key reads what a stranger reads; either way a request with a key is answered for itself alone and kept in no shared cache. An answer without a key is the same for every reader, its request_id included — which names the request that filled the edge's copy — and carries no RateLimit-* headers, since they would describe that request's sender. Cached at the edge for thirty seconds with two minutes of stale service.
Authorizations
No key needed — this document is public.
Path Parameters
@.OK.
"project_page"."film", "short", "series", "trailer", "commercial", "music_video", "animation", "documentary", "fashion", "game", "worldbuilding", "experimental", "other".Show child attributes
primary is the work as it was made; the rest are what the feeds draw: an image's thumbnail, a video's or a model's poster and thumbnail, a song's waveform (JSON: {version, peaks}). One of "primary", "poster", "preview", "thumbnail", "waveform".ai_generated does not describe it.Show child attributes
all, generations, uploads, or a member's folder's public id: the folder its assets are read by."all", "generations", "uploads", null. May be null.Show child attributes
Show child attributes
Show child attributes
Show child attributes
GET /v1/models lists it: the path a job is submitted to, such as auray-ai/krea-2-turbo/text-to-image. May be null.GET /v1/models lists it: the catalogue slug, such as krea2. May be null.tenths / 10, for display only."cinema_studio".Show child attributes
published is shown on the profile and at its link; hidden while a severe report is reviewed; withdrawn unpublished while a report held it; removed taken down by our team; staging while its files are copied. One of "staging", "published", "hidden", "withdrawn", "removed"."pending", "approved", "rejected".Headers:
| Header | Description |
|---|---|
Cache-Control | public, s-maxage=30, stale-while-revalidate=120 with no key; private, no-store with one. |
Vary | Authorization. |
RateLimit-Limit | Burst capacity, per key, on an answer to a key. An answer without one is cached at the edge and carries none of the RateLimit-* headers; a refusal without one, which is never cached, carries its address's. |
RateLimit-Remaining | |
RateLimit-Reset | Seconds until refill. |
X-Request-Id |
Was this page helpful?
curl https://api.auray.ai/v1/community/profiles/ada/projects/…import { createClient } from "@auray/client";
const auray = createClient(); // this route needs no key
const answer = await auray.platform.community.projects.get("ada", "…");
console.dir(answer, { depth: null });from auray_client import Client
auray = Client() # this route needs no key
answer = auray.platform.community.projects.get("ada", "…")
print(answer)const res = await fetch("https://api.auray.ai/v1/community/profiles/ada/projects/…", {
method: "GET",
});
console.log(await res.json());import requests
r = requests.get(
"https://api.auray.ai/v1/community/profiles/ada/projects/…",
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/community/profiles/ada/projects/…", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/community/profiles/ada/projects/…");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/community/profiles/ada/projects/…")
req = Net::HTTP::Get.new(uri)
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/community/profiles/ada/projects/…"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/community/profiles/ada/projects/…");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"publication_id": "<string>",
"slug": "<string>",
"title": "<string>",
"description": "<string>",
"category": "<string>",
"author": {},
"cover": [
{
"role": "<string>",
"position": 123,
"url": "<string>",
"content_type": "<string>",
"width": 123,
"height": 123,
"duration_ms": 123,
"supplied": true
}
],
"film": {},
"folders": [
{
"id": "<string>",
"name": "<string>",
"system": "<string>",
"count": 123
}
],
"counts": {
"likes": 123,
"views": 123,
"comments": 123,
"remixes": 123
},
"liked": true,
"info": {
"views": 123,
"generations": 123,
"credits_spent": 123,
"bytes": 123,
"created_at": "<string>",
"published_at": "<string>",
"updated_at": "<string>"
},
"stack": [
{
"model": {
"address": "<string>",
"id": "<string>",
"label": "<string>"
},
"tenths": 123,
"percent": 123,
"count": 123,
"color": "<string>",
"other": true
}
],
"powered_by": "<string>",
"show_prompts": true,
"show_canvas": true,
"canvases": {},
"listed": true,
"snapshot_id": "<string>",
"licence_version": "<string>",
"published_at": "<string>",
"url": "<string>",
"moved_from": "<string>",
"mine": {
"state": "<string>",
"state_reason": "<string>",
"approval": "<string>",
"approval_reason": "<string>",
"discoverable": true,
"profile_pinned": true,
"held": true,
"licence_version": "<string>",
"created_at": "<string>"
},
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}