@book000/pixivts - v0.61.1
    Preparing search index...

    Interface PixivNovelItem

    A pixiv novel work item as returned by the API.

    Returned by GET /v2/novel/detail, GET /v1/search/novel, etc.

    interface PixivNovelItem {
        caption: string;
        commentAccessControl?: number;
        createDate: string;
        id: number;
        imageUrls: ImageUrls;
        isBookmarked: boolean;
        isMuted: boolean;
        isMypixivOnly: boolean;
        isOriginal: boolean;
        isXRestricted: boolean;
        novelAiType: number;
        pageCount: number;
        restrict: number;
        series: Series | Record<string, never>;
        tags: Tag[];
        textLength: number;
        title: string;
        totalBookmarks: number;
        totalComments: number;
        totalView: number;
        user: PixivUser;
        visible: boolean;
        xRestrict: number;
    }
    Index

    Properties

    caption: string

    Synopsis / caption (may contain HTML).

    commentAccessControl?: number

    Controls who can post comments (may be absent).

    createDate: string

    ISO 8601 date-time string of when the novel was posted.

    id: number

    Work ID.

    Novels and illusts are numbered in separate sequences — the same ID can appear in both.

    imageUrls: ImageUrls

    Cover image URLs.

    isBookmarked: boolean

    Whether the authenticated user has bookmarked this novel.

    isMuted: boolean

    Whether the novel is muted for the authenticated user.

    isMypixivOnly: boolean

    Whether the novel is restricted to mutual followers (mypixiv).

    isOriginal: boolean

    Whether the novel is an original work (not fan fiction).

    isXRestricted: boolean

    Whether the novel contains explicit content beyond the xRestrict flag.

    novelAiType: number

    AI-generated content flag: 0 = no AI, 1 = partial AI, 2 = fully AI

    pageCount: number

    Number of pages (word-count chunks).

    restrict: number

    Content restriction level (0 = public, 1 = mypixiv-only, 2 = private).

    series: Series | Record<string, never>

    Series information.

    {} (empty object) if the novel does not belong to a series.

    tags: Tag[]

    Tags attached to the novel.

    textLength: number

    Total character count of the novel body.

    title: string

    Title of the novel.

    totalBookmarks: number

    Total number of bookmarks.

    totalComments: number

    Total number of comments.

    totalView: number

    Total number of views.

    user: PixivUser

    Author of the novel.

    visible: boolean

    Whether the novel is publicly visible.

    xRestrict: number

    Age restriction: 0 = all-ages, 1 = R-18, 2 = R-18G