# US 2026/0311398 A1 · Method and system for content generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0311398 A1
- Document ID: US20260311398A1
- Status: Published application
- Kind: A1
- Application number: 19/460,346
- Filed: 2026-01-27
- Published: 2026-10-08
- Earliest claimed: 2025-02-17
- Assignees: Oniber Software Private Limited
- Applicants: Oniber Software Private Limited
- Inventors: Raghu Sesha Iyengar; Abhijeet Zilpelwar; Ankush Tiwari
- Web page: https://patentgrep.com/patent/US20260311398A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

The present invention relates to a method (300) and system (100) for generating content. The method (300) processes input data through a series of neural network models, including a feeder neural network and a pre-trained model, to enhance the features of the content. The system (100) adjusts the input content, which may be real or synthetic, optimizing its characteristics to improve realism. Using loss functions, the system (100) fine-tunes the content to ensure that the generated output closely resembles real media, reducing perceptible distortions. The process involves refining visual, auditory, or other media features to make the content indistinguishable from real-world examples. This approach supports various applications, such as synthetic media creation, digital content generation, and media enhancement. By leveraging this method, the system (100) produces high-quality content, providing an efficient framework for content generation tasks across industries like entertainment, media production, and content detection.

## Claims

### Claim 1

A method (300) for generating content, the method (300) comprises:
receiving (301), via a processor (201), an input media file;
preprocessing (302), via the processor (201), the received input media file;
generating (303), via the processor (201), embeddings of the received input media file after preprocessing, using a pre-trained media transformer;
predicting (304), via the processor (201), an information corresponding to the embeddings of the received input media file, wherein the information comprises an indication of the embeddings of the received input media file to be either real or fake;
calculating (305), via the processor (201), a plurality of loss gradients utilizing one or more loss functions based on the predicted information;
performing (306), via the processor (201), back propagation to the received input media file using the plurality of loss gradients, to generate a new media file; and
providing (307), via the processor (201), the new media file.

### Claim 2 (depends on 1)

The method (300) as claimed in claim 1, wherein the input media file comprises one of an audio data, a video data or a combination thereof, wherein the preprocessing (302) the received input media file corresponds to sampling content of the audio data based on a predefined sampling rate, wherein preprocessing (302) the received input media file corresponds to sampling content of the video data based on a predefined frame sampling rate.

### Claim 3 (depends on 2)

The method (300) as claimed in claim 2, comprises splitting the received input media file after preprocessing, into one or more chunks; wherein the splitting is performed using a pre-defined time interval, wherein splitting video data of the received input media file into one or more chunks is performed either using the predefined time interval or a predefined number of frames; wherein the splitting of the video data of the received input media file is performed by grouping the predefined number of frames for each face from facial information associated with one or more faces of one or more users; wherein each chunk from the one or more chunks, obtained by the splitting, is partially overlapping with an adjacent chunk of the one or more chunks; wherein embeddings are generated for each chunk from the one or more chunks of the received input media file.

### Claim 4 (depends on 3)

The method (300) as claimed in claim 3, comprises extracting one or more media features corresponding to each chunk from the one or more chunks; wherein the one or more media features comprises one of a mel spectrogram, vocal tract model parameters, acoustic parameters, background noise, raw sample, pitch, frequency changes, a facial key points, swapped faces, cropped faces in RGB color space, YUV color space, masked faces, focussed eye region, lip region, facial expressions duration, number of pixels, number of person, video only, audio-video, file format, frame rate, compression artifacts, lighting inconsistencies, reflections, shadows, motion blur, noise patterns, or a combination thereof; wherein generating (303) of the embeddings is performed for each chunk from the one or more chunks based on the one or more media features.

### Claim 5 (depends on 4)

The method (300) as claimed in claim 4, comprises stacking the extracted one or more media features, before passing to a feeder neural network model, to create a volume of input to the feeder neural network model; wherein the method (300) comprises providing the extracted one or more features to the feeder neural network model based on the created volume of input, before passing to the pre-trained media transformer for obtaining a changed activation volume of an input to the pre-trained media transformer.

### Claim 6 (depends on 5)

The method (300) as claimed in claim 5, wherein the feeder neural network model corresponds to at least one of a convolutional neural network (CNN) layers, VGG (Visual Geometry Group), 3D-CNNs, fully connected layers, sigmoid activation, ReLU (Rectified Linear Unit) activation, dropout layers, ResNet (Residual Networks), RawNet2, LSTM (Long short-term memory), Deep Neural Network (DNN), or a combination thereof.

### Claim 7 (depends on 2)

The method (300) as claimed in claim 2, wherein the embeddings generated by the pre-trained media transformer are multi-dimensional vector representation of each chunk from the one or more chunks, wherein the pre-trained media transformer corresponds to one of Audio Spectrogram Transformer model, Whisper model, Wav2Vec2, EnCodec, Hubert (Hidden-Unit BERT), VideoMAE, XClip, TimeSformer, ViViT, Vision Transformers (ViTs), BEiT (BERT Pre-Training of Image Transformers), CAiT (Class-Attention in Image Transformers), DeiT (Data-efficient Image Transformers) or a combination thereof.

### Claim 8 (depends on 1)

The method (300) as claimed in claim 1, comprises providing the generated embeddings to one or more classification models, wherein the one or more classification models comprises a first classification model and a second classification model.

### Claim 9 (depends on 8)

The method (300) as claimed in claim 8, comprises calculating a content classification score, using the first classification model based on the generated embeddings, wherein the content classification score is indicative of probability of the each chunk from the one or more chunks to be either real or fake.

### Claim 10 (depends on 9)

The method (300) as claimed in claim 9, comprises calculating a content source classification score, using the second classification model based on the generated embeddings and the content classification score, wherein the content source classification score is indicative of probability of the each chunk from the one or more chunks belongs to a synthetic source from one or more synthetic sources.

### Claim 11 (depends on 10)

The method (300) as claimed in claim 10, wherein the second classification model is configured to compare the content source classification score, of each chunk, with a predefined threshold to classify the chunk belongs to the source from the one or more sources; wherein the first classification model and the second classification model comprise a combination of fully connected linear layer neural network and non-linear layer neural network, wherein the second classification model corresponds to one of a ReLU activation function, a Sigmoid activation function, logistic regression, random forest, k-nearest neighbour (k-NN), support vector machines (SVM), or a combination thereof.

### Claim 12 (depends on 1)

The method (300) as claimed in claim 1, wherein the method (300) comprises filtering the sampled input media file in time domain to reduce either noise or artifacts in the frequency domain, wherein filtering of the sampled input media file is performed using one of hamming window, hanning window, low pass filter, high pass filter, band pass filter or a combination thereof; wherein the method (300) comprises preprocessing the input media file for identifying one or more portions associated with one or more users, within the received input media file, wherein the one or more portions corresponds to either voice information or facial information, associated with the one or more users, wherein the facial information associated with the one or more users are identified by using one of Multi-task Cascaded Convolutional Networks (MTCNN), Yoloface, deepFace, retinaFace, FaceNet or a combination thereof.

### Claim 13 (depends on 1)

The method (300) as claimed in claim 1, comprises generating embeddings of the new media file, wherein the embeddings of the new media file correspond to a threshold, wherein the new media file embeddings will be generated until the threshold is met.

### Claim 14 (depends on 1)

The method (300) as claimed in claim 1, wherein the one or more loss functions comprises a first loss function and a second loss function, wherein the first loss function corresponds to cross entropy loss function and the second loss function corresponds to a mean square error (MSE) function.

### Claim 15 (depends on 14)

The method (300) as claimed in claim 14, wherein calculating the plurality of loss gradients corresponds to calculating a first loss gradient utilizing the first loss function and calculating a second loss gradient utilizing the second loss function, wherein the first loss gradient is calculated by providing a second input media file to the first loss function, wherein the second loss gradient is calculated by providing embeddings of the second input media file to the second loss function, wherein the new media file corresponds to the second input media file.

### Claim 16 (depends on 15)

The method (300) as claimed in claim 15, wherein calculating the plurality of loss gradients is performed until the difference between the embeddings of the second input media file and embeddings of the received input media file is less than a predetermined threshold.

### Claim 17

A system (100) for generating content, the system (100) comprises:
a processor (201);
a memory (202) communicatively coupled to the processor (201), wherein the memory (202) is configured to store one or more executable instructions that when executed by the processor (201), cause the processor (201) to:
receive (301) an input media file;
preprocess (302) the received input media file;
generate (303) embeddings of the received input media file after preprocessing, using a pre-trained media transformer;
predict (304) an information corresponding to the embeddings of the received input media file, wherein the information comprises an indication of the embeddings of the received input media file to be either real or fake;
calculate (305) a plurality of loss gradients utilizing one or more loss functions based on the predicted information;
perform (306) back propagation to the received input media file using the plurality of loss gradients, to generate a new media file; and
provide (307) the new media file.

### Claim 18

A non-transitory computer-readable storage medium having stored thereon a set of computer-executable instructions that, when executed by a processor (201), cause the processor (201) to perform steps comprising:
receive (301) an input media file;
preprocess (302) the received input media file;
generate (303) embeddings of the received input media file after preprocessing, using a pre-trained media transformer;
predict (304) an information corresponding to the embeddings of the received input media file, wherein the information comprises an indication of the embeddings of the received input media file to be either real or fake;
calculate (305) a plurality of loss gradients utilizing one or more loss functions based on the predicted information;
perform (306) back propagation to the received input media file using the plurality of loss gradients, to generate a new media file; and
provide (307) the new media file.
