@getnori/studio
Nori Studio: a tab where your users create reels and your admins review them.
- Creators (any signed-in user) upload a short video, or a photo that Nori turns into a 5-second AI video (labelled "AI-generated" in the feed). They see each reel's status, the review note if it was rejected, and the points they've earned from it.
- Admins review reels, set the loyalty points each rewarded view earns the viewer and the creator, reject with a reason, regenerate an AI video with a new motion prompt, and pause or re-activate live reels.
- Each creator can add 2 reels per day (
settings.studio.daily_upload_limit).
npm install @getnori/core @getnori/studio react-native-video
import * as ImagePicker from "expo-image-picker";
import { NoriStudio } from "@getnori/studio";
const pickMedia = async () => {
const result = await ImagePicker.launchImageLibraryAsync({ mediaTypes: ["images", "videos"] });
if (result.canceled) return null;
const asset = result.assets[0];
return { uri: asset.uri, mimeType: asset.mimeType ?? (asset.type === "video" ? "video/mp4" : "image/jpeg"), name: asset.fileName };
};
<NoriStudio client={nori} pickMedia={pickMedia} />;
Nori doesn't bundle a media picker: pickMedia lets you use the one your app
already has. Files: JPG, PNG or WebP images, MP4 or MOV videos, up to 10 MB.
Admins
Make users admins from your backend with your secret key
(PUT /v1/admins/{your user id}), or from Studio by an existing admin
(client.studio.addAdmin(userId)). Nori support can act on any tenant.
Admins also get two more tabs:
- Review: approve, reject, pause or regenerate reels. Edit details on a reel changes its title, text, tags and place in the feed. Moving a reel from Tour to Menu is switching those two tags.
- Collections: the groups your viewers pick above the reels. Every business names its own (a restaurant: Menu and
Tour; a salon: Styles; a gym: Equipment and Classes). Add, rename, reorder or remove them; removing one leaves the tags on
the reels. They reach the reels view (
@getnori/feed) with no change in your app.
Rewards
When a viewer's view of a Studio reel is rewarded, the viewer earns the
reel's viewer points and the creator earns its creator points. Both arrive
on your reward webhook (kind: "viewer" / "creator", external_user_id
= who to credit). Use <PointsBadge show="creator" /> from
@getnori/rewards to show creators what they've earned.
Building your own UI? useStudioMe, useCreateReel, useMyReels and
useReviewQueue, useCollections, or client.studio.* from @getnori/core.