Community

Read a feed

A page of a public feed — trending (what happened to a work in seven days, against its age), new, top over a window, or the reader's own following — or, with featured, the shelf our team featured.

GET
/v1/community/feed
GET
/v1/community/feed
Read a feed
A page of a public feed — trending (what happened to a work in seven days, against its age), new, top over a window, or the reader's own following — or, with featured, the shelf our team featured.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
sortstring
following needs a key that holds community:write. One of "trending", "new", "top", "following".
kindstring
Only works of this kind. One of "image", "video", "audio", "model3d", "project".
modelstring
Only works made with this model: its address or its id, as GET /v1/models lists them. Either finds the same works; case does not matter. 0 to 200 characters.
windowstring
What top counts over. One of "day", "week", "month", "year", "all".
featuredboolean
The featured shelf, newest first, whatever sort says.
originalboolean
Only Originals: works our own team made.
cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 200 characters.
limitinteger
How many on a page. 1 to 60.
Read a feed
curl --request GET \
  --url 'https://api.auray.ai/v1/community/feed' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "sort": "<string>",
  "pinned": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "data": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}
Read a feed
curl https://api.auray.ai/v1/community/feed
{
  "object": "<string>",
  "sort": "<string>",
  "pinned": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "data": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

A page of a public feed — trending (what happened to a work in seven days, against its age), new, top over a window, or the reader's own following — or, with featured, the shelf our team featured. Only works published, approved by our team and discoverable by their author are in a public feed; following is the discoverable works of the profiles the reader follows that our team did not decline. Our team's pins come first, in pinned, on a public feed's first page only. Takes no key. A key that holds community:write reads as its account — its likes and follows filled in — 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. While our team has paused the feeds it answers 503 feeds_paused, with our sentence for the pause when we wrote one; a work at its own link and its author's profile still answer.

Authorizations

No key needed. A key that holds community:write is read as its account — its likes and follows filled in — and is answered private, no-store. Paced per address, and cached at the edge for thirty seconds.

Query Parameters

sortstring
following needs a key that holds community:write. One of "trending", "new", "top", "following".
kindstring
Only works of this kind. One of "image", "video", "audio", "model3d", "project".
modelstring
Only works made with this model: its address or its id, as GET /v1/models lists them. Either finds the same works; case does not matter. 0 to 200 characters.
windowstring
What top counts over. One of "day", "week", "month", "year", "all".
featuredboolean
The featured shelf, newest first, whatever sort says.
originalboolean
Only Originals: works our own team made.
cursorstring
The next_cursor the previous page answered, unchanged, with the same filters. None for the first page. 0 to 200 characters.
limitinteger
How many on a page. 1 to 60.

Response

application/json

OK. One page, and the cursor of the next.

objectstringrequired
One of "list".
sortstring
One of "trending", "new", "top", "following", "featured".
pinnedobject[]
Our team's pins, on a public feed's first page.
Show child attributes
idstringrequired
The work's public id.
kindstringrequired
One of "image", "video", "audio", "model3d", "project".
titlestringrequired
May be null.
modelobjectrequired
Show child attributes
addressstringrequired
The model address it was made with, as 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.
idstringrequired
The same model's id, as GET /v1/models lists it: the catalogue slug, such as krea2. May be null.
labelstringrequired
The model's name, as a person reads it. May be null.
attributionstringrequired
The licence text the model's output travels with. Show it wherever the work is shown. May be null.
ai_generatedbooleanrequired
Every work here is a generation's result. Label it so wherever it is shown. One of true.
mediaobject[]required
Show child attributes
rolestringrequired
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".
positionintegerrequired
urlstringrequired
Where to load it. Kept until its author unpublishes the work. A URL.
content_typestringrequired
widthintegerrequired
May be null.
heightintegerrequired
May be null.
duration_msintegerrequired
May be null.
suppliedbooleanrequired
True for a poster, or its thumbnail, that the work's author supplied rather than one our services made: it is not what the model made, and the work's ai_generated does not describe it.
authorobject or nullrequired
countsobjectrequired
Show child attributes
likesintegerrequired
viewsintegerrequired
Counted once a day per visitor.
commentsintegerrequired
remixesintegerrequired
made_atstringrequired
When the result was made. May be null.
published_atstringrequired
May be null.
featuredbooleanrequired
Featured by our team.
pinnedbooleanrequired
Pinned by our team to the top of the public feeds.
originalbooleanrequired
An Original: made by our own team.
remixedbooleanrequired
Made from another work.
likedbooleanrequired
The reader's own like; null when no key that holds community:write was sent. May be null.
urlstringrequired
The work's page. A URL.
projectobject
Only on a project's card: its address, category, how many assets it shows, the three largest bands of its Stack, and whether anything it shows is AI-generated.
Show child attributes
slugstringrequired
categorystringrequired
One of "film", "short", "series", "trailer", "commercial", "music_video", "animation", "documentary", "fashion", "game", "worldbuilding", "experimental", "other".
itemsintegerrequired
0 to ….
stackobject[]required
Show child attributes
modelobjectrequired
tenthsintegerrequired
Its share in tenths of a percent; the bands of one Stack add up to exactly 1000. 0 to 1000.
percentnumberrequired
tenths / 10, for display only.
countintegerrequired
0 to ….
colorstringrequired
otherbooleanrequired
The band that gathers every model past the top ones.
ai_generatedboolean
Whether anything the project shows is AI-generated: its generations, or its film when the clips it was assembled from were. A film is not counted in the Stack, so a project that shows its film and none of its clips has an empty stack and ai_generated: true.
dataobject[]required
Show child attributes
idstringrequired
The work's public id.
kindstringrequired
One of "image", "video", "audio", "model3d", "project".
titlestringrequired
May be null.
modelobjectrequired
Show child attributes
addressstringrequired
The model address it was made with, as 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.
idstringrequired
The same model's id, as GET /v1/models lists it: the catalogue slug, such as krea2. May be null.
labelstringrequired
The model's name, as a person reads it. May be null.
attributionstringrequired
The licence text the model's output travels with. Show it wherever the work is shown. May be null.
ai_generatedbooleanrequired
Every work here is a generation's result. Label it so wherever it is shown. One of true.
mediaobject[]required
Show child attributes
rolestringrequired
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".
positionintegerrequired
urlstringrequired
Where to load it. Kept until its author unpublishes the work. A URL.
content_typestringrequired
widthintegerrequired
May be null.
heightintegerrequired
May be null.
duration_msintegerrequired
May be null.
suppliedbooleanrequired
True for a poster, or its thumbnail, that the work's author supplied rather than one our services made: it is not what the model made, and the work's ai_generated does not describe it.
authorobject or nullrequired
countsobjectrequired
Show child attributes
likesintegerrequired
viewsintegerrequired
Counted once a day per visitor.
commentsintegerrequired
remixesintegerrequired
made_atstringrequired
When the result was made. May be null.
published_atstringrequired
May be null.
featuredbooleanrequired
Featured by our team.
pinnedbooleanrequired
Pinned by our team to the top of the public feeds.
originalbooleanrequired
An Original: made by our own team.
remixedbooleanrequired
Made from another work.
likedbooleanrequired
The reader's own like; null when no key that holds community:write was sent. May be null.
urlstringrequired
The work's page. A URL.
projectobject
Only on a project's card: its address, category, how many assets it shows, the three largest bands of its Stack, and whether anything it shows is AI-generated.
Show child attributes
slugstringrequired
categorystringrequired
One of "film", "short", "series", "trailer", "commercial", "music_video", "animation", "documentary", "fashion", "game", "worldbuilding", "experimental", "other".
itemsintegerrequired
0 to ….
stackobject[]required
Show child attributes
modelobjectrequired
tenthsintegerrequired
Its share in tenths of a percent; the bands of one Stack add up to exactly 1000. 0 to 1000.
percentnumberrequired
tenths / 10, for display only.
countintegerrequired
0 to ….
colorstringrequired
otherbooleanrequired
The band that gathers every model past the top ones.
ai_generatedboolean
Whether anything the project shows is AI-generated: its generations, or its film when the clips it was assembled from were. A film is not counted in the Stack, so a project that shows its film and none of its clips has an empty stack and ai_generated: true.
next_cursorstringrequired
The cursor of the next page; null on the last. May be null.
request_idstring
Mirrored in the X-Request-Id header. On an answer without a key it names the request that filled the edge's copy, so readers served from that copy are handed the same one.

Headers:

HeaderDescription
Cache-Controlpublic, s-maxage=30, stale-while-revalidate=120 with no key; private, no-store with one.
VaryAuthorization.
RateLimit-LimitBurst 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-ResetSeconds until refill.
X-Request-Id

Was this page helpful?

Read a feed
curl https://api.auray.ai/v1/community/feed
{
  "object": "<string>",
  "sort": "<string>",
  "pinned": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "data": [
    {
      "id": "<string>",
      "kind": "<string>",
      "title": "<string>",
      "model": {
        "address": "<string>",
        "id": "<string>",
        "label": "<string>"
      },
      "attribution": "<string>",
      "ai_generated": true,
      "media": [
        {
          "role": "<string>",
          "position": 123,
          "url": "<string>",
          "content_type": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123,
          "supplied": true
        }
      ],
      "author": {},
      "counts": {
        "likes": 123,
        "views": 123,
        "comments": 123,
        "remixes": 123
      },
      "made_at": "<string>",
      "published_at": "<string>",
      "featured": true,
      "pinned": true,
      "original": true,
      "remixed": true,
      "liked": true,
      "url": "<string>",
      "project": {
        "slug": "<string>",
        "category": "<string>",
        "items": 123,
        "stack": [
          {
            "model": {},
            "tenths": 123,
            "percent": 123,
            "count": 123,
            "color": "<string>",
            "other": true
          }
        ],
        "ai_generated": true
      }
    }
  ],
  "next_cursor": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.